Within a planned unit development, residential uses may be integrated into the nonresidential portion of the site, provided that the overall number of dwelling units in the entire development does not exceed the calculation set forth in Subsection D above. In addition, the bedroom count shall average no more than 2.0 bedrooms per unit for the entire development, except that single-family dwellings and three-bedroom units that are deed-restricted as affordable shall not be included in the overall calculation of average bedroom density.