```python
def count_element_in_list(list1, x):
    """
    Counts the number of sublists in a list that contain a specific element.

    Args:
        list1 (list): A list of lists.
        x: The element to search for in the sublists.

    Returns:
        int: The number of sublists containing the element x.
    """
    count = 0
    for sublist in list1:
        if x in sublist:
            count += 1
    return count

```