So I've been working on this problem for a while and I was able to get up to here:
$$\sum_{k=1}^{2004}\cos^{2}\left(\frac{k\pi}{2\cdot2005}\right)$$
With the trigonometric identity that $1+\tan^2\left(\theta\right) = \sec^2\left(\theta\right)$. And that $\cos\left(\theta\right) = \frac{1}{\sec\left(\theta\right)}$.
I'm stuck at this point, does anyone have anything on how to move it forward?
Sidenote: I'm a precalculus student