Battlefront abilities won't count an opponent if you attacked only planeswalkers that player controlled and/or battles that player protected and not the player themself.

Artwork
Loading artwork…
Martok, Hero of the Empire
Star Trek Commander · #23 · EN
Nonfoil—Foil—
Card rules
Battlefront — Whenever you attack, put a +1/+1 counter on each of up to X target creatures you control, where X is the number of opponents you attacked this turn.
2/2
Noble blood may not have run in Martok's veins, but the blood of his enemies ran at his feet.
Rare · Illustrated by Pavel Kolomeyets
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Opponents you attacked this turn that left the game later in the turn are still counted by battlefront abilities. For example, if you attack three opponents and one of them loses the game as a result, then you cast Own the Day during your second main phase, it will cost 3 less to cast.