Rank departments by how many employees they have (most = 1, ties share a rank). Return dept_id, headcount and size_rank. Ignore employees with no department.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.