Adding show number pages in Paginator class.