title: How to add page number in a document using Google Apps Script
body: <p>I would like to add page number and total number of pages into the document footer using Google Apps Script.</p>
  
  <p>I can't find the api for it. Is it possible?</p>