Extending product function with VBA : System Architect collections : OfCollection class : Count
  
Count
A numeric value representing the number of collection members.
Parameters
Data type: Long
Read-only
Example
Dim oDef as Definition, coll as OfCollection, i as integer
Set coll = oDef.GetPropertyAsCollection("Operations")
Debug.Print coll.Name
For i = 1 to coll.Count Debug.Print coll.Item(i).Name
Next i
See also
OfCollection class