human
Give me a the Python program you requested given the following:
Write a function to count the number of sublists containing a particular element. Here is a solution in Python:
assistant
#Here is the Python program you requested.
 def count_element_in_list(list1, x): 
    ctr = 0
    for i in range(len(list1)): 
        if x in list1[i]: 
            ctr+= 1          
    return ctr