def count_Odd_Squares(n, m):
    if n > m:
        n, m = m, n
    import math
    return math.isqrt(m) - math.isqrt(n - 1)