Assert how many pages the page explorer counts ("1-7 of 7 pages", "7 pages"): the children of the page, or the results of a search.
Examples
Then the page explorer should count 7 pages
Then the page explorer should count 11 pages
And the page explorer should count 1 page
Then the page explorer should count 4 pages
Then the page explorer should count 6 pages
Pattern
Then(/^the page explorer should count (\d+) pages?$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.