"Pathfinder has more classes than D&D" - Here's 3.5 class options.
"Pathfinder has more classes than D&D" - Here's 3.5 class options.
You clearly haven't tried 3.5e, IMHO best edition. Class for every occasion. 362 to be exact, however I might be missing some (ex. savage species monster class progression). And you can obviously mix and match classes as long as you meet the requirements.
Pathfinder 1e is basically D&D 3.75. Everything from 3.5 is fully compatible with Pathfinder 1e, and Pathfinder fixed and improved some shortcomings in 3.5.