If you rank all the stats, similar to how was done in 1e Unearthed Arcana, you potentially have 720 classes. (I'm referring to the method presented therein to roll the stats for specified classes - method V maybe?) Consulting the beginning stats for NPCs as in the 3.5e DMG may also prove enlightening. Challenge: can you come up with 6! classes?