title: How to get number of pages in kendo pdfExport
body: <p>I have following code</p>
  
  <pre><code>kendo.drawing.drawDOM(tempContainer, {
      paperSize: "A4",
      landscape: false,
      template: $("#page-template").html()
  }).then(function(group) {
      //here I need total number of pages produced by kendo
      return kendo.drawing.exportPDF(group);
  }).done(function(data) {
      //or maybe here?
  });
  </code></pre>
  
  <p>Is there any way to get total number of pages in created pdf file? I mean pure javascript solution without any external libraries. I am using kendo-ui library only.</p>