Returns the number of items in the collection. This is a read-only property; it can be viewed but not set.
VBScript
collection.Count
Perl
$collection->Count();