If Anthropological Mission isn't on the battlefield as its ability resolves, use the number of quest counters it had on it before it left the battlefield to determine whether or not you discard a card, noting that you won't be able to put another quest counter on it for that time the ability resolves.

Artwork
Loading artwork…
Anthropological Mission
Star Trek · #46 · EN
Nonfoil—Foil—
Card rules
Whenever you cast a noncreature spell, put a quest counter on this enchantment. Draw a card. Then discard a card unless this enchantment has three or more quest counters on it.
While the Prime Directive doesn't allow the Federation to interfere with pre-warp societies, it can learn from them.
Uncommon · Illustrated by Pablo Mendoza
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Anthropological Mission's ability resolves before the spell that caused it to trigger. It resolves even if that spell is countered or otherwise leaves the stack without resolving.