def METHOD_NAME(dats_dict):
    """
    Parse the content of the DATS dictionary and grep the variables of interest for
    the summary statistics.
    :param dats_dict: dictionary with the content of a dataset's DATS.json file
     :type dats_dict: dict
    :return: dictionary with the variables of interest to use to produce the
             summary statistics
     :rtype: dict
    """
    extra_properties = dats_dict["extraProperties"]
    keywords = dats_dict["keywords"]
    values_dict = {
        "extraProperties": {},
        "keywords": [],
    }
    for extra_property in extra_properties:
        values_dict[extra_property["category"]] = extra_property["values"][0]["value"]
    for keyword in keywords:
        values_dict["keywords"].append(keyword["value"])
    authorization = "unknown"
    if "authorizations" in dats_dict["distributions"][0]["access"]:
        authorization = dats_dict["distributions"][0]["access"]["authorizations"][0][
            "value"
        ]
    return {
        "title": dats_dict["title"],
        "data_provider": dats_dict["distributions"][0]["access"]["landingPage"],
        "authorization": authorization,
        "dataset_size": dats_dict["distributions"][0]["size"],
        "size_unit": dats_dict["distributions"][0]["unit"]["value"],
        "number_of_files": values_dict["files"] if "files" in values_dict else "",
        "keywords": values_dict["keywords"] if "keywords" in values_dict else "",
    }