Find the number of ordered pairs of real numbers $$(a,b)$$ such that whenever $$\gamma$$ is a root of $$x^2+ax+b=0$$, $$\gamma^{2}-2$$ is also a root of the same equation.