drop
count
any
Returns the number of elements matching the given predicate.
collection.count { predicate? }