def METHOD_NAME(
    request_params: RequestParams,
) -> Dict[str, Dict[int, int]]:
    road_number = request_params.location_info["road1"]
    road_segment = request_params.location_info["road_segment_name"]
    start_time = request_params.start_time
    end_time = request_params.end_time
    cache_key = (road_number, road_segment, start_time, end_time)
    if cache_dict.get(cache_key):
        return cache_dict.get(cache_key)
    query = KilledAndInjuredCountPerAgeGroupWidgetUtils.create_query_for_killed_and_injured_count_per_age_group(
        end_time, road_number, road_segment, start_time
    )
    dict_grouped, has_data = KilledAndInjuredCountPerAgeGroupWidgetUtils.parse_query_data(query)
    if not has_data:
        return {}
    while len(cache_dict) > CACHE_MAX_SIZE:
        cache_dict.popitem(last=False)
    cache_dict[cache_key] = dict_grouped
    return dict_grouped