def METHOD_NAME(word: str, needed_len: int) -> bool:
    """Checks if word has needed amount of chars.
    :param word: word to check
    :param needed_len: how many letters needed
    :return: true if len match
    """
    s = word.upper()
    return len(re.sub("[^[A-ZÅÄÖ]", "", s)) == needed_len