This article explains how to detect document file type, size and calculate pages count with GroupDocs.Comparison.... PageCount represents the number of pages in a document. FileSize...() } ` ); console . log ( `Number of pages: ${ info . getPageCount...