If you put more than 3 in a 40 gallon, it all depends how big the fish are and what kind of fish. U do need 2 power filters. At least 400 gph. The size of the tank matters too. Get a rectangle instead of a bow front or a hexagon. The rectangle has more surface area. I also use reverse osmosis water so there is no contaminates like chlorine or heavy metals, like in tap water. If u use tap water, use a dechlorinator. I like Seachem prime. Make sure ur tank is cycled, and don't put 3 fish in at one time. Do one a week after ur tank is cycled. Buy a test kit to check water before adding fish. 40g is ok for 3 fish, if u do everything right, u won't have to worry about ammonia poisoning. My tanks are both 75 gallons, I have power heads to circulate water and have bubblers breaking the surface, and I have lots of filtration. 9 is not too many for my tank. They have plenty of room to swim. When they get bigger il buy a bigger tank. Good luck