def get_lost_guesses(guessed_letter, secret_word):
    """
    Calculates the number of guesses lost from a guess according to
    the secret_word.

    :param guessed_letter: The letter the player guessed.
    :type guessed_letter: str
    :param secret_word: The secret word that the player needs to guess.
    :type secret_word: str
    :returns: The number of guesses the player lost.
    :rtype: int
    """
    if guessed_letter in secret_word:
        return 0
    else:
        if guessed_letter in 'aeiou':
            return 2
        return 1