Function count

Return the number of the elements in a vector.