Find the number of distinct ordered pairs $(x,y)$, where $x$ and $y$ have positive integral values satisfying the equation $x^4y^4-10x^2y^2+9=0$.

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