Returns the number of elements in this list.
Counts the number of elements matching predicate.
The number of elements in this list for which predicate returns true.