No livestock operation which confines hogs, chickens, goats, cows, large birds such as emus, ostriches, or the like, buffalo, or any other large livestock operation shall be conducted unless such facility is a minimum of 1,000 feet from any existing home. This section shall not apply to any type of facility existing as of the effective date of this Code, and such existing facility shall be grandfathered in and not subject to this regulation. Any facility which has more than five of the animals identified in section 11-12(3), except chickens, in which the minimum number of chickens being raised which will cause this section to take effect shall be 50 or more chickens.