Here's Mesa's rule:
You may have up to 10 chickens on the first one-half acre or less provided any enclosure is at least 40 feet from any neighboring residence, any coop is at least 75 feet from any other residence, it is kept sanitary and they are not allowed to run loose or create a noise...