Let n2n \geq 2 be an integer. Determine the number of positive integers mm such that mnm \leq n and m2+1m^2 + 1 is divisible by nn.