They counted the windows between the corner of the building and the location of that hole. Then they sent a security consultant up to one of the lower floors (assuming that they all had the same layout) and had him go all the way to the end of the corridor and then count doors back from there, noting the apartment numbers on the doors.