def count_pattern_in_list(lst, seq):
    """
    Counts a specific pattern of objects within a list.

    Usage:
        count_pattern_in_list([1,0,1,2,0,1], [0,1]) = 2
    """
    count = 0
    len_seq = len(seq)
    upper_bound = len(lst) - len_seq + 1
    for i in range(upper_bound):
        if lst[i:i + len_seq] == seq:
            count += 1
    return count