To Add slide numbers in the footer first click on View, then on the menu that opens click on the option Header and Footer.
A Header and Footer window opens, in the Slide tab Check the check box next to the Slide Number so that slide numbers will appear on the slides.
To add the slide numbers on all the slides click on the button Apply to all.