Find the number of integer pairs $(x, y)$ such that $x^2 + y^2 = 2019$.
The answer is $\boxed{0}$.
This is because $2019\equiv 3\pmod{4}$. But there exists no integer solution to the relation $x^2 + y^2 \equiv 3\pmod{4}$.