The length property provides the number of enumerated items. This property provides the same functionality as the Count property and is provided for compatibility with JScript.
WshEnvironment.length = natNumberOfItems
WshEnvironment.Count property