Using the #total_pages method of LinkRendererBase also in LinkRenderer

Helps to easily change the behavior of the view helper concerning the total pages to be shown.