title: How can I number pages in a PDF with PhantomJS?
body: <p>I'm using PhantomJS to generate PDFs from HTML.  I want to have a page footer that says "page 1 of 5", "page 2 of 5", etc.  Is there any way to do that with PhantomJS?</p>
  
  <p>(I know about <a href="http://www.w3.org/TR/css3-page/#page-based-counters" rel="noreferrer">CSS3 page-based counters</a>, but as far as I can tell PhantomJS doesn't support them.)</p>