I have 9, with 5 actively laying for 2 people. I give away about 3 dozen a month. All girls. The way the vague ordinance reads I can have as many as I want until someone complains, so I'm not pushing my luck. I started with grown hens for some instant eggs, then later hatched eggs and kept the girls. So I have 2 older hens, 2 1 year old hens, 2 8 months olds, and 3 who should start laying around May. So when my first 2 start slowing in their laying, I'll have 3 to take their place.
We have a big yard, right smack in the middle of an urban block of residences. 5 neighbors can see into our back yard and none of them mind. We placed the coop where it would be the farthest away from a house. And built a compost pile to handle the poo in the corner. Leaves and yard crud goes in there too and so far it's been effective. Sand in the run too, for fly and odor control.
Originally I thought the houses were too close to get chickens, I have had them before in an urban area but the house was set a part from the rest on a dead end road. But here, I was standing out in the driveway with my husband and our land lady, and a chicken came around the corner of a house across the street. I was like OMG... A chicken! I want some! And land lady was like "have at it, I want eggs". Cool deal. So I'm not the only one either.