import re


def get_word_count(text: str) -> int:
    """
    Returns number of words in `text` minus HTML element tags
    """
    return len(list(filter(None, re.split(r"\s+", re.sub(r"<(.*?)>+", "", text)))))