Find the number of odd three-digit positive integers $x$ satisfying $x^2 \equiv 1 \pmod{8}$ and the product of the digits of $x$ is odd.

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