Returns the number of elements in the vector.

For the null parameter, the function returns 0.

Tip:

This function may be called in a method-like style:

v.size()