You need to read the ordinance again, and go look at the beginning where they do the definitions.
Frequently, the livestock is referred to in an animal unit, which considers the grazing required to feed one cow. Sheep and goats are, I think, 1/2 an animal unit.
Many people don’t realize how restrictive ordinances have become. However, there is also often an out in the state law, which is written to protect agriculture. The caveat is that you have to actually being making money from agricultural pursuits on the property before you can get exempted to be agricultural, lol! Nice catch 22.
Basically, the laws typically say that anyone can pursue agriculture regardless of lot size and regardless of County or City ordinances. The hold out there is HOA’s, which cannot be ignored.
When I moved to VA from FL, I made sure I read the ordinances for the county and found the zoning of the property. I can finally have roosters! I can also whatever livestock I want, as long as I account for the animal units. Oddly, I am also restricted in how many dogs I can have without registering as a kennel AND having kennel facilities for the dogs. I do like that in the city nearby, the people can have as many chickens as they want. I think that’s awesome!
Anyway, I hope this helps...