from typing import List


def count_word(word: str, word_list: List[str]) -> int:
    """
    Counts how many times a word is present in a document
    """
    return sum(1 for w in word_list if w == word)