Autotext number in set

Aye, pager numbers are not the issue. We are looking for total pages so it would be possible to automate something like “page x of y”. Layout provides the x as you have shown but we still need to manually update the Total Pages at this stage. I created an auto text to do this but as mentioned it needs to be updated if pages are added or subtracted, e.g page of