from typing import Counter


def text_values_count(texts):
    """
    Calculates number of word occurrences in a text corpora
    :param texts: Iterable of texts, List[str] for instance
    :return: Counter object
    """
    res = Counter()
    for text in texts:
        cnt = Counter(filter(lambda x: x, map(lambda x: x.strip(), text.split(" "))))
        res.update(cnt)
    return res