Grab the amount of pages