How many pairs of positive integers $(a,b)$ are there such that $\gcd(a,b)=1$ and \[ \frac{a}{b}+\frac{14b}{9a}
\]is an integer?

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