Okay, I'll count the editions like one would count textbook editions
1. Original D&D with hobbits, balrogs, and Ents
2. Original D&D with halflings, Type VI Demons, and Treants
3. Holmes D&D
4. Advanced D&D with a Player's Handbook, Dungeon Master's Guide, and Monster Manual
5. Advanced...