For the purpose of side yard regulations, any dwellings which occupy a single lot but have a common party wall shall be considered as one building.