countOf
countOf(value: MemberType): Integer;
The countOf method of the Collection class returns the number of times the entry specified in the value parameter occurs in the collection.
Use the countOf64 method instead of the countOf method, if the number of entries could exceed the maximum integer value of 2,147,483,647.