Returns count of elements that matches the given predicate. Returns -1 if iterable is null
predicate
int countWhere(bool predicate(T element)) { if (this == null) return -1; return this!.where(predicate).length; }