If Pyromancer Ascension’s first ability triggers, you’ll put a quest counter on it even if the card in your graveyard leaves your graveyard by the time the ability resolves or if the spell you cast is countered.