They need surface area so I think four would be the most in a 30 gallon tank.