def total_letters(transcript: str) -> int:
    """
    Sums the total amount of non-space characters in the transcript.
    :param transcript: A string containing the contents of the transcribed audio file.
    :return: Returns the number of letters in the file.
    """
    counter = 0
    for i in transcript:
        if i != " ":
            counter += 1
    return counter