Winding Count
The new function WindingCount in Version 12 gives the count of the number of times a closed curve winds around a point. It provides alternate definitions of polygons from self-intersecting closed curves.
Use WindingCount to compute the integral of a complex function based on Cauchy's theorem.