Plain and simple
=COUNT(A1:A5)
( if by values you mean numbers)