Compute, using the Cauchy Integral Formula,
$$ \int_{\gamma} {dz \over (z-3)(z)} $$
where $\gamma$ is the circle of radius $2$ centered at the origin, oriented counterclockwise.
Attempt:
On the one hand we have that
$$ \int_{\gamma} {dz \over (z-3)(z)} = -\int_{-\gamma} {{1 \over z} \over (z-3)}\ dz= -2 \pi i {1 \over 3} = -{2 \pi i \over 3} $$
via Cauchy's Integral Formula. This seems to answer the question.
On the other hand, we have that since $3$ is located outside of the circle of radius $2$ centered at the origin, that therefore
$$ n(-\gamma, 3) = 0 = {1 \over 2 \pi i}\int_{-\gamma} {dz \over (z - 3)} $$
This makes me uneasy about the answer to the question being $- \frac{2 \pi i}{3}$ as stated above.
Question: Are these two facts consistent with each other despite my uneasiness?