# Write a function to count the number of unique lists within a list.
def unique_sublists(list1):
    result = {}
    for l in list1:
        result.setdefault(tuple(l), list()).append(1)
    for a, b in result.items():
        result[a] = sum(b)
    return result
