property ExShellObjects.Count as Long
Counts the element from collection.

TypeDescription
Long A long expression that specifies the count of elements in the collection.
This read-only property returns the number if elements in the ExShellObjects collection. Use the Item property to access an element in the collection. Use the Get method before accession the Count or Item property to retrieve the specific files or folders.