def METHOD_NAME(filters: dict) -> dict:
    """Turn the filters into the result dictionary when dealing with Sub-Awards
    Note: Due to how the Django ORM joins to the awards table as an
    INNER JOIN, it is necessary to explicitly enforce the aggregations
    to only count Sub-Awards that are linked to a Prime Award.
    Remove the filter and update if we can move away from this behavior.
    """
    queryset = (
        subaward_filter(filters)
        .filter(award_id__isnull=False)
        .values("prime_award_group")
        .annotate(count=Count("broker_subaward_id"))
    )
    results = {}
    results["subgrants"] = sum([sub["count"] for sub in queryset if sub["prime_award_group"] == "grant"])
    results["subcontracts"] = sum([sub["count"] for sub in queryset if sub["prime_award_group"] == "procurement"])
    return results