def count_increased(values):
    """
    Count how many measurements increased from previous value

    :param values: List of values
    :returns: Number of measurements that increased from previous value
    """
    # how many measurements increased
    increased = 0
    # first value
    previous = values[0]
    # rest of the values
    for current in values[1:]:
        if current > previous:
            increased += 1
        previous = current
    return increased