from typing import List
from typing import Tuple


def difference_counts(values1: List[float], values2: List[float]) -> Tuple[int, int]:
    """
    Returns the number of corresponding pairs from vals1 and vals2
    in which val1 > val2 and val2 > val1 respectively.
    :param values1: list of values
    :param values2: list of values, same length as values1
    :return: number of pairs in which first value is greater than second, and number of pairs
    in which second is greater than first
    """
    n1 = 0
    n2 = 0
    for (val1, val2) in zip(values1, values2):
        d = val2 - val1
        if d > 0:
            n2 += 1
        elif d < 0:
            n1 += 1
    return n1, n2