I don't
think an easily accessible list of houses exists (since there are gaps in the numbers), so I built my own array of houses. From there, I just ran it in a loop using
Code:
local _,_,_,_,owned = GetCollectibleInfo(GetCollectibleIdForHouse(house_index))