You can use Field from the Insert menu to add various items to the page.
With things like page number and number of pages, the usual method is to
create a background page and place these items on it. Any page that this
background is attached will reflect the page number of the foreground page.