def vowels(string: str) -> int:
    """Count the number of vowels in a string

    Args:
        string (str): The string to count vowels in

    Returns:
        int: The number of vowels in the string
    """

    return sum(string.count(vowel) for vowel in ["a", "e", "i", "o", "u"])