It's a logical question as most people who become interested in having their own saltwater aquarium have seen videos and film of underwater ocean scenes with schools of beautiful tropical fish or have been to public aquariums where a multitude of fish swim freely throughout the displays. They have also seen freshwater aquariums with dozens of fish in small aquariums. Freshwater, saltwater, what's the difference?
You should be able to put a lot of fish in a saltwater aquarium, just like in the freshwater aquariums, right? Wrong!
The short, "Rule of Thumb" answer generally accepted in the marine aquarium hobby is: "One inch of fish (measured from the nose to the base of the tail) per 5 gallons of system saltwater." The normal response to this answer is: "Is that all? Why so few?"
The longer answer to the question is a bit more complicated and takes longer which is why the shorter, easier answer is normally given. The "allowable bio-load" (number of fish) for a saltwater aquarium depends on the size and efficiency of the biological filter, the efficiency of gas exchange, the water temperature, the fish species size and mix, the type (again, the efficiency) of filtration used as well as the amount of cover or hiding places for fish to go when they feel threatened.
Potentially, you can house more fish in a marine aquarium than the Rule of Thumb allows.
However, most saltwater aquariums, especially new tanks with minimal filtration, lack a really efficient biological filtration system which can process the fish waste. Saltwater critters are much more sensitive to tank toxins (ammonia, nitrates, phosphates) than freshwater fish. Aquarium filtration systems which facilitate gas exchange to keep the dissolved oxygen levels at the top of the scale will support more fish than systems that keep the O2 levels below the optimum.
The higher the water temperature, the less O2 the water will hold.
The types and species of fish, as well as the mix in the tank, makes a difference in the amount of fish that can successfully be held in a tank. For example; a 6" Naso will do quite well in a 55g saltwater tank with a dozen Blue/Green Chromis (total 18" of fish or 3 fish inches per gallon) while the same dozen Chromis would not fare well with a 6" Volitans Lionfish.
A vast majority of reef fishes require a "house" or some place to hide either to sleep or to retreat to when they feel threatened. The same is true in an aquarium. A stressed out fish will not live as long as a fish which can easily retreat to a safe place whenever they want.
While super efficient filtration systems can be designed and installed on a marine tank, most of the filtration systems available on the market (hang on/in tank filters with bio wheels or small filter pads) which are easy and convenient and will work for the small biological loads that the "Rule of Thumb" allows.
The "One Inch per Five Gallons" Rule of Thumb may be a bit conservative for the experienced aquarist with a tank which has been running well for some time, but the novice would be wise to follow the rule.
It's better to be safe than sorry.