how could you define the perimter of a nonsimple closed curve? Give an example of your explaination

The perimeter is the limit of the sum of distances between points on the curve, as the number of points increases to infinity