Despite a slowing economy, inflation and war, Wall Street analysts are sticking to their "buy" calls on stocks. Buy ratings are above the five-year average, according to FactSet.