Modify the current page count method