Electrostatic Infantry’s triggered ability resolves before the spell that caused it to trigger. The ability will resolve even if that spell is countered.

Artwork
Loading artwork…
Electrostatic Infantry
Dominaria United · #122 · EN
Nonfoil—Foil—
Card rules
Trample
Whenever you cast an instant or sorcery spell, put a +1/+1 counter on this creature.
1/2
"That's not exactly what I had in mind when I said 'charge,' but I like your enthusiasm!" —Balmor, battlemage captain
Uncommon · Illustrated by Kekai Kotaki
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny 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