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