def count_increases(seq):
    """Count the number of elements in a sequece greater than the previous"""
    increases = 0
    for i in range(1, len(seq)):
        if seq[i] > seq[i-1]:
            increases += 1
    return increases