Assert how many matches the search found, as the heading of the results says ("Search found 2 matches").
Examples
Then the search should find 2 matches
Then the search should find 1 match
And the search should find 0 matches
Then the search should find 27 matches
And the search should find 3 matches
Pattern
Then(/^the search should find (\d+) match(?:es)?$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.