In the Header and Footer box, on the Slide tab, select the Slide number check box, and then in the Starts at box, type the page number that you want to start with on the first slide.
On the Insert tab, click Header & Footer.
Add a text box to each slide and then add the page numbers to each text box. Note: The only way to exclude hidden slides from the count is to manually number each visible slide.