When you close a shape, you can add the measure of the last side.