def calculate_depth_increases(depths: list[int]) -> int:
    """Calculate the number of times the depth increases over the previous depth,
    in a list of depths"""
    depth_increases: int = 0
    for index, depth in enumerate(depths):
        if index == 0:
            continue
        if depth > depths[index - 1]:
            depth_increases += 1

    return depth_increases