The given equation is:
\[ x^2 - 2|x| + |a - 2| = 0 \]
Let \( t = |x| \). The equation transforms to:
\[ t^2 - 2t + |a - 2| = 0 \]
Solving for \( t \):
\[ t = 1 \pm \sqrt{1 - |a - 2|} \]
Substituting into the equation for \( t \):
\[ |x| = 1 \pm \sqrt{1 - (a - 2)} = 1 \pm \sqrt{3 - a} \]
For \( |x| \) to be a real integer, \( 3 - a \geq 0 \Rightarrow a \leq 3 \).
Given \( a>2 \), the only valid value is \( a = 3 \).
For \( a = 3 \), \( |x| = 1 \), yielding \( x = \pm 1 \). This gives 2 solutions.
Substituting into the equation for \( t \):
\[ |x| = 1 \pm \sqrt{1 - 0} = 1 \pm 1 \]
This results in \( |x| = 0 \) or \( |x| = 2 \).
Thus, \( x = 0, \pm 2 \), providing 3 solutions.
Substituting into the equation for \( t \):
\[ |x| = 1 \pm \sqrt{1 - (2 - a)} = 1 \pm \sqrt{a - 1} \]
For real and integer values of \( |x| \), we require \( a \geq 1 \) and \( a<2 \). The only possible integer value for \( a \) is \( a = 1 \).
For \( a = 1 \), \( |x| = 1 \), yielding \( x = \pm 1 \). This adds 2 more solutions.
The total number of integer solutions is \( \boxed{7} \).