Generating new page object should calcculate total pages