Build a CTE dept_counts with headcount per dept_id, then return departments with 4 or more people.
dept_counts
dept_id
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.