How many cards of a kind the text of the editor has. The kind is the name of the card menu ("Divider", "Callout", "Image").
Examples
Then the editor should have 1 "Divider" card
Then the editor should have 2 "Callout" cards
Then the editor should have 1 "Image" card
And the editor should have 0 "Toggle" cards
Then the editor should have 3 "Divider" cards
Pattern
Then(/^the editor should have (\d+) "([^"]*)" cards?$/, …)
Part of @webship-js/ghost-steps (github.com/webship/ghost-steps), a step pack for Webship-js 2.0.x.