How do i get total page no from webbrowser

Hi all

I need to get the total page no from web browser, can anyone please let me know?

looks like we need to do a calculation like:
grafik
grabbing the Jobs count
and dividing it by the page segment:
grafik
grafik