1" of fish for every 2 gallons is a good starting rule for a well equiped and maintained tank but it really depends on the fish and the remainder of your bioload, how much water you are moving, the filtration system, how often you do water changes, whether skimming or not, do you have a fuge or sump, etc.
Larger fish, especially your meat eaters create more waste than your smaller or vegetarian type fish