The number of integer solutions of the equation $\left(x^{2}-10\right)^{\left(x^{2}-3 x-10\right)}=1$ is