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