type_count

Returns the number of instances of a given Type within a collection.

This function does not generate a change.

Function

type_count(type)

Arguments

Argument Type Description
type str The name of the Type for which the number of instances must be returned.

Return value

An int representing the number of occurrences.