We have DocIdSetIterator.cost(), can we use it and avoid introducing new method?