Removes all items that match the predicate. Returns the number of items removed.
int removeWhereEmit(bool Function(T item) test);