You may consider visiting following link for information on how to Manipulate tables in existing PDF and you can get the information regarding number of rows in table instance. Now concerning to getting page index information, you may consider Search and get Text from all pages using Regular Expression and it will returns the position information for TextFragment representing page index. In case you face any issue, please share the resource/input PDF file.