The Count property provides the number of enumerated items.
WshCollection.Count = natNumberOfItemsl
WshCollection.length property