def more_than(sequence, number):
    """Returns 1 if sequence has more items than number and 0 if not."""
    i = 0
    for item in sequence:
        i += 1
        if i > number:
            return 1
    return 0
