In an $n \times m$ grid, 1 row and 1 column are colored blue, and the rest of the cells are white. If precisely $\frac{1}{2010}$ of the cells in the grid are blue, how many values are possible for the ordered pair $(n, m)$?

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