Pass `this` to getPageCount() call