Corrected pageCount