Inch-per-gallon doesn't really apply to most tanks because it doesn't take into account body mass, aggression level, or activity level.
Swords/platies get to be a few inches long apiece, and cories can get up to 4. Danios are very active, as are neons, so you've got a lot of fish running...