Grouped country wise record then i want to get maximum value from each country and id

{

"aggs" : {
    "country_groups" : {
        "terms" : { "field" : "country.keyword",
        		"size":30000
        },
      "aggs":{
			"max_price":{
	        "max": { "field" : "video_count"}
	       }
}
}
}

}

i want to get each maximum record id