Determines the number of elements in a Vector object.
Returns an integer that specifies the number of elements contained in the Vector object.