Returns the number of elements in this collection.
Returns the number of elements matching the given predicate.