Battalion — Whenever Frontline Medic and at least two other creatures attack, creatures you control gain indestructible until end of turn.
Sacrifice Frontline Medic: Counter target spell with {X} in its mana cost unless its controller pays {3}.
Creatures that come under your control after Frontline Medic's battalion ability resolves will not be granted indestructible by this effect.
Once a battalion ability has triggered, it doesn't matter how many creatures are still attacking when that ability resolves.
The effects of battalion abilities vary from card to card. Read each card carefully.
The three attacking creatures don't have to be attacking the same player or planeswalker.