count Type Aliases
Returns the number of type aliases that satisfies the specified predicate present in the declaration.
Return
The number of type aliases in the declaration.
Parameters
predicate
The predicate function to determine if a type alias satisfies a condition.