Returns the number of items in All Collections, Block, Dictionary, Group, MenuBar, or SelectionSet objects
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