If $x(t) = \sum_{n=-\infty}^{\infty} cos(t)\delta(t-n)$ has Fourier transform $X(\omega)$, then what is the value of $\int_{-\pi}^{\pi} X(\omega)d\omega$?
(a) $2\pi$
(b) $\pi$
(c) $4\pi$
(d) $\pi/2$
(e) $\pi/4$
(f) $2\pi^2$
(g) $4\pi^2$
(h) $2/\pi$
(i) $2$
(j) $4$
(k) $0$
(l) None of these