Finish the pager_totals twig function.