The Count property returns the number of Pattern objects in the collection. Read-only.
objPatternsColl.Count
Long
For more information on using the Count and Item properties, see the example in the Item property.