7576777879808182838485
// TODO: make this more efficient if (!this.isValid()) { return 0; } IntPointerIterator count = (IntPointerIterator) this.it.copy(); count.moveToFirst(); int size = 0; while (count.isValid()) { ++size; count.inc(); }