Gandalf's Sanction {1}{U}{R}
Sorcery
Gandalf's Sanction deals X damage to target creature, where X is the number of instant and sorcery cards in your graveyard. Excess damage is dealt to that creature's controller instead.
click a line to search just that ability, click more to combine them
Cards that do something similar expected a card that isn't here?
Reports become test cases the matcher is graded against before an update ships. Delvefall isn't a chatbot guessing, it compares the printed rules text of every card with plain math, and examples like yours decide which differences should count.