For how many integers $n$ does the expression
\[
\sqrt{\frac{\log (n^2) - (\log n)^2}{\log n - 3}}
\]
represent a real number, where log denotes the base $10$ logarithm? Provide your answer as an integer.

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