Let $A=\{1, 2, \ldots, 2006\}$. Find the maximal number of subsets of $A$ that can be chosen such that the intersection of any two distinct subsets has 2004 elements.

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