For how many integers $n$, does the equation system \[\begin{array}{rcl} 2x+3y &=& 7 \\ 5x + ny &=& n^2 \end{array}\] have a solution over integers? Write your answer as an integer.

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