title: How can I get the total count of total pages of a PDF file using PDFMiner in Python?
body: <p>In PyPDF 2, <code>pdfreader.getNumPages()</code> gives me the total number of pages of a PDF file.</p>
  <p>How can I get this using <a href="https://pypi.org/project/pdfminer/" rel="nofollow noreferrer">PDFMiner</a>?</p>