The caller already knows if it's using an overflow page, so pass the number of expected pages in instead of having to map the page first and check the count there.