It shall be unlawful for there to be more than three dogs and three cats on any residential lot subject to the following exceptions: (1) Pet owners in compliance with any prior ordinance limiting the number of dogs and cats shall be allowed to continue to keep said number of animals; (2) A litter of puppies or kittens will be permitted to remain on the owner's property for a period of 12 weeks after their births; (3) Residential lots of five or more acres, lots zoned A-1 and RR are limited to five dogs and five cats; (4) Foster home operators (the term "foster home" means any place routinely or in the practice of providing temporary care for animals, except equine. A foster home must be under a written contract with a licensed animal shelter. A foster home will be considered an agent for the animal shelter, and not an animal shelter itself), kennels, or other individuals who have been granted a waiver under section 32-21.