Then the folder should count 2 items

The folder on screen counts its files ("Covers (2 items)": the files, not the folders in it).

Examples

Then the folder should count 2 items
Then the folder should count 3 items
And the folder should count 4 items
Then the folder should count 1 item
Then the folder should count 0 items

Pattern

Then(/^the folder should count (\d+) items?$/, …)

Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.