Count the number of objects in the iterable matching the predicate.
iterable object or array
predicate fn
Count the number of objects in the iterable matching the predicate.