Tested in Vanilla Arma, Stratis map, allObjects can't find the houses ans many other terrain objects (map).
count (1 allObjects 0) returns 234 objects (lamps, poles)
count (63 allObjects 0) returns 238 objects...
I limited the array, adding a distance limit from player... just in case of engine's burn out! No joy.