Group by "field" OR group by missing "field"

Thank you. It works. I see my mistake was in adding "aggs" in the start of second aggregation. Anyway, thank you!