how to add page numbers (pdf)

On the compile page, how do I add footer page numbers for saving to PDF? When I type in number 1, it repeats 1 on every page. I don’t understand

Use the <$p> placeholder tag in place of that number. When you put a number or a word in the footer you get exactly what you type. That placeholder tag tells scrivener that it needs to add page numbers to each page.

When I export text from Scrievener to Microsoft word and then add page numbers, the number on the first page becomes zero, and the it counts from there.
How do I get the page numbers to start from 1?