Returns the number of instances of a given Type within a collection.
This function does not generate a change.
type_count(type)
| Argument | Type | Description | 
|---|---|---|
| type | str | The name of the Type for which the number of instances must be returned. | 
An int representing the number of occurrences.