You choose the target player as the ability goes on the stack, but you determine the value of X as that ability resolves. If you target yourself and Corpse Augur is still in the graveyard, its ability will count itself.

Artwork
Loading artwork…
Corpse Augur
Aetherdrift Commander · #40 · EN
Nonfoil—Foil—
Card rules
When this creature dies, you draw X cards and you lose X life, where X is the number of creature cards in target player's graveyard.
4/2
"Hail the Fly, the Wasp, the Scarab, the Locust, and the Scorpion!"
Uncommon · Illustrated by Ryan Pancoast
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker 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
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions