Battalion — Whenever this creature and at least two other creatures attack, creatures you control gain indestructible until end of turn.
Sacrifice this creature: Counter target spell with {X} in its mana cost unless its controller pays {3}.
The three attacking creatures don't have to be attacking the same player, planeswalker, or battle.
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.