win_nums = [1, 2, 3, 4, 5, 6]
my_nums = [[1, 2, 3, 10, 11, 12], [7, 8, 9, 10, 11, 12]]

win_set = set(win_nums)
result = []

for nums in my_nums:
    count = len(win_set & set(nums))
    result.append(count)

print(result)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: