Cosmic Epiphany is still resolving at the time that the instant and sorcery cards in your graveyard are counted, so it isn’t in your graveyard yet and won’t be counted.

Artwork
Loading artwork…
Cosmic Epiphany
Dominaria United · #283 · EN
Nonfoil—Foil—
Card rules
Draw cards equal to the number of instant and sorcery cards in your graveyard.
"All knowledge, past and future, is etched upon reality. Every answer we seek is out there, hidden only by the limits of our minds." —Jodah
Rare · Illustrated by Eli Minaya
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions