A desktop publishing application from Microsoft that focuses on page layout and graphic design.
Try this:
I am assuming you are in booklet, two page spread.
Working in Page Navigation, the left pane:
Select the first two page spread (pages 2 and 3) > right click > Insert Section, before left page. Select the last page > right click > insert section. You have now created a section that is exclusive of your cover and rear page. Note that if you are not using the two-page spread then you will just right click the first page > insert section.
Select the first two page spread > right click > Page numbers > choose your preferred number alignment...top center, right center, etc. Right click again > page numbers > check Show number on first page. Right click a third time > page numbers > format page numbers > Start this section with 1.
A tip...I have had the occasion where I did not want one of those interior pages to show the page number, but wanted to include it in the page count. Being the lazy person that I am I did not want to create a new section before and after that page, so...create a small, empty text box and drag it over and on top of the number you do not want to show. You might have to use the alignment controls to Bring forward. This is a quick workaround if you don't want to create a second section before the last page...just cover the number with an empty text box.
And here is a reference page for creating sections:
Reference: Insert or remove a section break between pages in a publication: https://support.microsoft.com/en-us/office/insert-or-remove-a-section-break-between-pages-in-a-publication-8aeb61fd-5568-4082-a533-b2d41f21da28
DavidF