property Aggregates.Count as Long
Returns the number of objects in a collection.

TypeDescription
Long A Long expression that specifies the number of Aggregate objects.
The Count property counts the number of objects in the Aggregates collection. The Item property accesses an Aggregate object giving its key. You can use the for each statement to enumerate all Aggregate objects in the Aggregates collection. The Clear method removes all objects in the collection.