The current template displays the page number in the footer. This number is roughly identical to the number of pages in the pdf. This, most likely, is not what the user is interested in. The merge request changes this behaviour to displaying the frame number instead. This gives a expected behaviour when making use of overlays withing one frame.