Then the cart count should be 2

The cart button of the header shows that count (in its name or its badge; no badge is 0).

Examples

Then the cart count should be 2
Then the cart count should be 0
And the cart count should be 1
Then the cart count should not be 0
But the cart count should not be 3

Pattern

Then(/^the cart count should( not)? be (\d+)$/, …)

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