from collections import Counter
from itertools import chain
term_appearance = Counter(chain.from_iterable(texts_list))
How can i count occurrence of each word in document using Dictionary comprehension