Add getter for PageBuilder's number of pages

Also removed TODO from TeleportHistoryHandler