def METHOD_NAME(self, dictionary, key, verbose, count, time_calculated):
    if count == verbose:
        executed_more_than_once = 0  # Checks if input key was executed before
        # Checking if value of key is empty or float
        if isinstance(dictionary[key], float):
            time_calculated = dictionary[key] + time_calculated
            executed_more_than_once = 1
        else:
            try:
                if "value" in dictionary[key] and isinstance(
                    dictionary[key]["value"], float
                ):
                    time_calculated = dictionary[key]["value"] + time_calculated
                    executed_more_than_once = 2
            except KeyError:
                pass
        # Adding values
        if executed_more_than_once == 2:
            dictionary[key]["value"] = time_calculated
        elif executed_more_than_once == 1:
            dictionary[key] = time_calculated
        else:
            if len(dictionary[key]) != 0:
                dictionary[key].update({"value": time_calculated})
            else:
                dictionary[key] = time_calculated
        return
    self.METHOD_NAME(
        dictionary[list(dictionary)[-1]], key, verbose, count + 1, time_calculated
    )