Count property
Returns the number of items in the collection, group, or selection set.
Syntax
IntegerVariable = object.Count
Where:
integerVariable is a Long integer variable for storing the Count value.
object is a collection object.
Examples...
Count property example