The total number of dwellings used to calculate the ratios mentioned in 2° and 3° of article L. 2334-17 is equal to the number of items on the general housing tax roll, excluding non-attached built outbuildings, in the year preceding the financial year during which the urban solidarity and social cohesion grant is distributed.