Determine the number of positive integers $n$ satisfying the following conditions:

1. $n < 10^6$
2. $n$ is divisible by 7
3. $n$ does not contain any of the digits 2, 3, 4, 5, 6, 7, 8.

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