Except as otherwise provided by municipal ordinance, the residents of a community home may not keep for the use of the residents of the home, either on the premises of the home or on a public right-of-way adjacent to the home, motor vehicles in numbers that exceed the number of bedrooms in the home.