问题描述:
Write a function to find number of lists present in the given tuple.

测试用例:
['assert find_lists(([1, 2, 3, 4], [5, 6, 7, 8])) == 2', 'assert find_lists(([1, 2], [3, 4], [5, 6]))  == 3', 'assert find_lists(([9, 8, 7, 6, 5, 4, 3, 2, 1])) == 1']

生成的代码:
def find_lists(tup):
    count = 0
    for element in tup:
        if isinstance(element, list):
            count += 1
    return count

# Test cases
assert find_lists(([1, 2, 3, 4], [5, 6, 7, 8])) == 2
assert find_lists(([1, 2], [3, 4], [5, 6])) == 3
assert find_lists(([9, 8, 7, 6, 5, 4, 3, 2, 1],)) == 1