Returns the number of items in the collection. This property is read-only.
VBScript
collection.Count
Perl
$collection->Count();