PUMaC 2022 Algebra A Problem 3

Find the number of real solutions (x, y) to the system of equations:

\left\{\begin{array}{l} \sin \left(x^{2}-y\right)=0 \\ |x|+|y|=2 \pi \end{array}\right.