def some_sort_of_count(list1, list2):
    return [sum(x in y for y in list1) for x in list2]
list1 = ['cat', 'caa', 'doa', 'oat']
list2 = ['at', 'ca', 'do']
some_sort_of_count(list1, list2)
Fast String within List Searching