(c) Nothing in this chapter limits the applicability of any reasonable local, state or federal restrictions regarding
the maximum number of occupants permitted to occupy a dwelling as long as they are applied to all occupants and do not operate to discriminate or have the effect of discriminating on the basis of race, color, national origin, religion, creed, sex, marital status, familial status, source of income, age, sexual orientation, gender identity or disability.