count: how many ints to iterate on (as the last slab may not be full).
should I change to size?