def part_1(input_data: list[int]) -> int:
    """Count the number of times a depth measurement increases from the previous measurement.
    Args:
        input_data (str): depths
    Returns:
        int: number of depth increases
    """

    inc_count = 0
    for i, depth in enumerate(input_data):
        if i != 0 and input_data[i] > input_data[i - 1]:
            inc_count += 1
    return inc_count