from typing import List


def count_increases(measurements: List[int]) -> int:
    """Count the number of times the depth measurement increases."""
    total = 0
    past = 9999999  # Make the first comparison arbitrarily large.
    for measurement in measurements:
        if measurement > past:
            total += 1
        past = measurement

    return total