does anyone knows how to get the total pages of a document generated by xhtml2pdf. I need to store the total pages in a database. In Pypdf2 I could use pdf.getNumPages() for exa