public function getPageCount(string $group = 'default'): int
	{
		$this->ensureGroup($group);

		return $this->groups[$group]['pageCount'];
	}
public function getPageCount(string $group = 'default'): int
	{
		$this->ensureGroup($group);

		return $this->groups[$group]['pageCount'];
	}
public function getPageCount ( string $ group = 'default' ) : int { $ this -> ensureGroup ( $ group ) ; return $ this -> groups [ $ group ] [ 'pageCount' ] ; }
Returns the total number of pages.

@param string|null $group

@return integer
Returns the total number of pages .