def countchars(text : str) -> dict:
    """
    Return the frequency of characters in the specified text

    Parameters:
        text (str): Single text

    Returns:
        frequencies (dict): Frequency per character
    """
    frequencies = {}
    for char in text:
        if char in frequencies:
            frequencies[char] += 1
        else:
            frequencies[char] = 1

    return frequencies