Syntax: count ()
If source iterator implements {@link Countable}, that implementation is used to obtain the count of elements. Otherwise, this method determines the count.
Syntax: count (predicate {(v, k) ==> result})
Returns a number that represents how many elements in the specified sequence satisfy a condition.