Then the "Bread types" snippets should count 17

Assert how many snippets of a kind there are, as their listing counts them ("17 bread types").

Examples

Then the "Bread types" snippets should count 17
Then the "People" snippets should count 4
And the "Bread types" snippets should count 18
Then the "Footer text" snippets should count 1
Then the "Bread ingredients" snippets should count 50

Pattern

Then(/^the "([^"]*)" snippets should count (\d+)$/, …)

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