from typing import List


def _get_name_matches(name: str, guess_words: List[str]) -> int:
    """
    Return the number of common words in a str and list of words
    :param name:
    :param guess_words:
    :return: number of matches
    """
    matches = sum(word in name for word in guess_words)
    return matches