property ExShellFolders.Count as Long
Returns the number of folders

TypeDescription
Long A Long expression that indicates the number of elements in the collection. 
Read only property providing the number of folders in a in a given folder collection. Use the Item property to access an element in the collection giving its index.