Anticognition will counter the spell and let you scry 2 if any opponent has eight or more cards in their graveyard, not just that spell’s controller.

Artwork
Loading artwork…
Anticognition
Zendikar Rising · #45 · EN
Nonfoil—Foil—
Card rules
Counter target creature or planeswalker spell unless its controller pays 2. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2.
"I think not." —Flekon the Mindcensor
Common · Illustrated by Igor Kieryluk
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
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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
In a multiplayer game, once an opponent leaves the game, they won’t be considered for such an effect, no matter how many cards they had in their graveyard before leaving the game.
An ability that offers a bonus if an opponent has eight or more cards in their graveyard won’t provide additional benefits if more than one opponent has eight or more cards in their graveyard. There are also no additional benefits no matter how many cards are in an opponent’s graveyard, as long as there are at least eight.
Anticognition can target a spell that can’t be countered. You’ll still scry 2 if an opponent has eight or more cards in their graveyard.
If an opponent has eight or more cards in their graveyard, Anticognition can still target only a creature or planeswalker spell.