Adding Page number in Footer in Customized Layout

Adding Page number in Footer in Customized Layout

Hello,

As we are developing our Custom Layout (in HTML) for Estimates, we would need the page numbered. Is there a hidden %variable% I could use ? It should be put in the Footer area. (we have 3 fixed page then the quote which may have multiple pages)

Thanks