We cannot apply the winding number formula here since the curve pass through the point $1$. How can we evaluate the integral $\int_\gamma \frac{dz}{z-1}$, where $\gamma$ is the simple unit circle?
Can we say $\int_\gamma \frac{dz}{z-1} = \int_\sigma \frac{dz}{z-1}$, where $\sigma$ is a circle about $0$ with radius $1/2$?