Returns the total number of items
$subpages = $page->children()->paginate(10); $pagination = $subpages->pagination(); echo 'There are ' . $pagination->items() . ' in total';