With the reptile hobby I don't think there's a limit as long as you have proper care.
When it comes to cats and dogs.. it's unhealthy. For example, I know a woman with 23 cats. They make the house smell TERRIBLE and she cleans and changes the litter twice a day, but it still doesn't help. She doesn't fix them and they keep breeding.
That's where problems come to order.