def count(words: list, string: str) -> int:
    """
    Counts how many of the words in words is in the string

    :param words:
    :param string:
    """
    count = 0
    for word in words:
        if word in string:
            count += 1
    return count