If $f \in M_k$ then $f$ is holomorphic everywhere (by definition), so $v_z(f) \ge 0$ for all $z$ (including $z = i, \rho, \infty$). So the LHS of the valence formula is a sum of non-negative quantities.
If $f \in M_k$ then $f$ is holomorphic everywhere (by definition), so $v_z(f) \ge 0$ for all $z$ (including $z = i, \rho, \infty$). So the LHS of the valence formula is a sum of non-negative quantities.