Storm counts spells cast before the spell with storm was cast. Spells cast after the spell with storm was cast but before the storm ability resolves aren't counted.

Artwork
Loading artwork…
Weather the Storm
Modern Horizons 1 Timeshifts · #24 · EN
Nonfoil—Foil—Etched—
Card rules
You gain 3 life.
Storm (When you cast this spell, copy it for each spell cast before it this turn.)
"Quell your ego and anywhere can be as calm as a hurricane's eye."
Uncommon · Illustrated by Magali Villeneuve
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The copies storm creates are created on the stack, so they're not cast. Abilities that trigger when a player casts a spell (such as storm) won't trigger.
The storm ability and the copies it creates all resolve before the spell with storm. They resolve even if the spell with storm is countered.