Actually Magic in Dungeons and Dragons, and the d20 System in general has thousands and thousands of different spells. There was one book that was published a little ways back that was supposed ot be a compilation of all spells in the d20 System that was open sourced,. It had about 1700 different spells. Add to the various metamagic feats and you have a fair amount of customizability for your spell caster. Add in material from Monte Cook's Arcana Unearthed with the Simple, Complex, and Exotic spell game mechanic with Diminished and Heighten effects you can nearly double if not triple that number.
Sorry, DnD wins.