50 plants in the UK and you'd be in prison.

If you've got 10 or under and can prove it's all for personal use you'll get a fine, maybe a suspended sentence, but no jail time. People have got away with just a fine after getting busted with more than 10 plants, but rule of thumb is stay low and make it look like personal use and it might not even go to court if your really lucky.