MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
WOOF :: page_count()
Retrieves the total number of pages in the current listing, if that listing is paginated. Essentially a wrapper around retrieval of the max_num_pages property of the global $wp_query object.