I think you only need 3:
Fighter (reskinned as ranger, gladiator, barbarian, etc.)
Spellcaster (reskinned as sorcerer, wizard, warlock, etc.)
Fighter-Spellcaster (reskinned as cleric, druid, paladin, spellsword, etc.)
Everything else can be a function of skill choices, subclasses, and...