The distance referred to in the two preceding articles is counted from the outer facing of the wall where the opening is made, and, if there are balconies or other similar projections, from their outer line to the dividing line between the two properties.