Create a twig function that renders info about pager results.