# Drawstep engine · Values · `stormCount` > Storm count — Spells cast this turn before the source spell (storm). Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/values#stormCount ## Where it goes A number: `{ "kind": "stormCount", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields No fields besides the discriminator. ## Minimal form ```json {"kind":"stormCount"} ``` The engine reads that minimal form as: “the number of spells cast before it this turn”. ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive