Calculate usign the formula for zeros and poles, for a meromorphic function $f$ the following: $$\int_\Gamma \frac{f'(z)z}{f(z)}\, \operatorname dz$$
Where $\Gamma$ is simple and closed. I tried writting $ \dfrac{f'(z)z}{f(z)}=\dfrac{g'(z)}{g(z)}$ for some meromorphic function (and then use the formula for zeros and poles for $g$) $g$ but I can't find $g$. I don't know if this idea is good for reducing this integral.
The residue of $f'(z)/f(z)$ at a point $z_0$ is the valuation $v_{z_0}(f)$. Moreover, $f'(z)/f(z)$ has only simple poles. Therefore, the residue of $zf'(z)/f(z)$ at a point $z_0$ is $v_{z_0}(f)z_0$. By the residue theorem, the integral equals the weighed sum of the zeroes and poles of $f$ in the interior of $\Gamma$:
$$\sum_{z \in \text{ Int }\Gamma} v_{z_0}(f)z_0.$$