With the current (latest) version, using --infer-page-count
flag on the manifest
does not work.
In previous versions, it would extract a number of pages, which was visible under metadata.numberOfPages
. That key is no loger returned.
Command used: manifest --infer-a11y=split --infer-page-count path/to/file.epub
.