Question 3Find the number of rational numbers $r,$ $0 \lt r \lt 1,$ such that when $r$ is written as a fraction in lowest terms, the numerator and the denominator have a sum of $1000.$