Suppose that $m$ and $n$ are positive integers such that $m < n$, the geometric mean of $m$ and $n$ is greater than $2007$, and the arithmetic mean of $m$ and $n$ is less than $2007$. Find the number of pairs $(m, n)$ that satisfy these conditions.

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