I'm editting the content of my question to better reflect what I want to ask.
I would like to know how many and what spells did a character cast in the entire story, which would obviously require a list of the spells as an answer, for example "What spells did Dumbledore cast during Harry Potter books?" (Although this isn't the character I have in mind, nor the story)
Would that be ok question to ask?