property NonworkingTimes.Count as Long
Returns the number of objects in a collection.

TypeDescription
Long A long indicates the number of NonworkingTime object in the NonworkingTimes collection
The Count property indicates the number of NonworkingTime object in the NonworkingTimes collection. The Item property can access a NonworkingTime object based on its handle, reference or index. The for each statement is supported by the NonworkingTimes collection, so the NonworkingTimes collection can be enumerated using a sample like  for each nw in NonworkingTimes