I was looking over wizard subclasses for a new character, when I read a Reddit comment that says if a War Magic wizard casts dispel magic on an object affected by multiple spells, they get a Power Surge for each spell that is dispelled.
The War Magic wizard's Power Surge feature (XGtE, p. 60) says:
Whenever you successfully end a spell with dispel magic or counterspell, you gain one power surge, as you steal magic from the spell you foiled.
I believe the commenter is correct, and one cast of dispel magic can get you more than one power surge. It says "Whenever you end a spell" which I take as having no limit per casting, as it would say "Once per casting of the spell, when you end a spell" instead if that were the case.
Seeing as how you can cast prestidigitation 3 times and have 3 ongoing effects on one object, and dispel it to immediately get 3 power surges for only losing one 3rd level spell slot, I can't believe it's intended.
Based on RAW alone, can a War Magic wizard cast dispel magic once and gain multiple power surges?