pageCount

abstract val pageCount: Int(source)

Number of pages in the whole document.

Lays out every chapter. For a large reflowable EPUB that is the expensive call: prefer chapterCount with pageCountIn, or knownPageCount.