Added pagination result

Hi, I added a function to show pagination result, it is quite useful especially for tables. 
Thanks Giorgio.