Allow setting page count after creation

There are dynamic methods to set items/itemsPerPage and to get current page count, but not to set current page count (if you're explicitly managing pages yourself rather than using items/itemsPerPage). So, added one.