def part1(depths):
    """Count no. of times depth increases"""
    increase_count = 0
    for i in range(1, len(depths)):
        if depths[i] > depths[i - 1]:
            increase_count += 1
    return increase_count