The number of posts of the topic on screen (the first post and the replies, the small notes of a moderator's action left out).
Examples
Then the topic should have 3 posts
Then the topic should have 1 post
Then the topic should have two posts
Then the topic should have 4 posts
Then the topic should have 2 posts
Pattern
Then(/^the topic should have (\w+) posts?$/, …)
Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.