Let $f(x)=\frac{9^x}{9^x+3}$. Compute $\sum_{k} f \left( \frac{k}{2002} \right)$, where $k$ goes over all integers $k$ between $0$ and $2002$ which are coprime to $2002$.

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