It really depends a lot on your setup and how hard you want to work on your tank. Also the type of fish.
The rule of thumb is 1" of fish per 5 gallons. But remember, you have to consider the fish fully grown. A Yellow tang can grow 5"+ or so in an aquarium so that would actually count for 25 gallons.
Now, that is the rule of thumb. What you have to keep in mind is that you can add more fish but you will have to do more frequent maintenance to the tank. Less fish and you can get away with less.
Feeding habits, aggressiveness, type of tank, .....all effect the number of fish you can have as does the quality of your filtration. More details on your setup will help better determine what you can stock.