My teacher wrote the above equation on the board the other day and acted like it was obvious. Here, $ \eta $ is the winding number of $ f \circ \gamma $. Here is the justification he gave:
$$ \frac{1}{2\pi i} \int_{\gamma} \frac{f'(z)}{f(z)} dz = \frac{1}{2\pi i} \int_{a}^{b} \frac{f'(z(t))}{f(z(t))} z'(t)\ dt = \int_{f \circ \gamma}\frac{1}{\zeta} d\zeta = \eta( f \circ \gamma, 0) $$
I think he may be missing a $ \frac{1}{2\pi i} $, since the last equality would follow from the Cauchy Residue Theorem if a $ \frac{1}{2\pi i} $ was placed in front of the integral. What I really don't understand is this equation:
$$ \frac{1}{2\pi i} \int_{a}^{b} \frac{f'(z(t))}{f(z(t))} z'(t)\ dt = \int_{f \circ \gamma}\frac{1}{\zeta} d\zeta $$
Help?