Implement .Count and .LongCount without predicate.