I have a table that needs to span on multiple pages. For this I've used longtable.
For each page that the table spans i need to specify something like page current_page/total_number of pages (not for the whole document, just the pages that the table is using).
Is there any way of doing this using longtable and/or other environments