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