import math

def count_Intgral_Points(x1, y1, x2, y2):
    side = math.hypot(x2 - x1, y2 - y1)
    if side == 0:
        return 0

    min_x = min(x1, x2)
    max_x = max(x1, x2)
    min_y = min(y1, y2)
    max_y = max(y1, y2)

    start_x = math.floor(min_x) + 1
    end_x = math.ceil(max_x) - 1
    start_y = math.floor(min_y) + 1
    end_y = math.ceil(max_y) - 1

    count_x = max(0, end_x - start_x + 1)
    count_y = max(0, end_y - start_y + 1)

    return count_x * count_y