Assert how many topics the forum on screen says it has, beside the page numbers above its list ("27 topics").
Examples
Then the forum should have 27 topics
Then the forum should have 1 topic
And the forum should have 4 topics
Then the forum should have 0 topics
And the forum should have 27 topics
Pattern
Then(/^the forum should have (\d+) topics?$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.