Added total_pages to page meta