I'd say more like 10. Shrimp have a pretty low bioload so you can get a lot of shrimp in a tank without affected the water quality. There's folks on here that have hundreds of shrimp in a 20 gallon tank. 40-60 in a 4 gallon tank shouldn't be an issue.
Camera Pimp member #1