Set up
Suppose $\gamma$ a simple closed curve, oriented in a counterclockwise direction. $f(z)$ is a complex polynomial $$ f(z)=a_nz^{n}+a_{n-1}z^{n-1}+\cdots+a_0. $$ We already know that the integral $$ N=\frac{1}{2\pi i}\oint_{\gamma}{\frac{f'(z)}{f(z)}dz} $$ which we called the winding number, gives the total zeros $N$ of $f(z)$ inside the closed curve $\gamma$. Now I want to know the total zeros $M$ outside $\gamma$ and this can be done exactly by the fundamental theorem of algebra, which leads to $$ M=\mathrm{total\ zeros\ of}\ f(z)\ \mathrm{in\ whole\ plane}\ -N. $$ My question is: is there an "integral way" instead of the "algebraic way" to count the number of zeros $M$ outside $\gamma$ like what we did for $N$?