Find the sum of the roots of $\tan^2 x - 9\tan x + 1 = 0$ that are between $x = 0$ and $x = 2\pi$ radians. If the answer is $k\pi$, what is the value of $k$?

Let's think step by step and output the final answer within \boxed{}.
user