Let $f_1(x) = x^2 - 1$, and for each positive integer $n \geq 2$, define $f_n(x) = f_{n-1}(f_1(x))$. How many distinct real roots does the polynomial $f_{2004}$ have?

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