def _find_longest_key_length(dictionary: dict) -> int:
    """Returns the longest string length of a key in the given dictionary."""
    length: int = 0
    for key in dictionary.keys():
        if len(key) > length: length = len(str(key))
    return length