One case to be aware of... given that you know the number of pages after the first request, you can store that and not need to request `n+1` pages. Or you can stop as soon as the number of items returned is less than the PAGE_SIZE (implying that you have reached a non-full page, the last page).