How i create serial number in bottom of page to navigate on next page.

eg: bottom of google page.

Please if you have any idea, then please help me.