Returns the number of objects in a collection.
Syntax
LONGcollection.GetCount(VOID);
The collection placeholder is an object variable that represents a persistent collection.
Remarks
Because members of a collection begin with 0, you should always code loops starting with the 0 member and ending with the value of the Count property minus 1.
If the value of the Count property is 0, there are no objects in the collection.