Find the number of professors with a Ph.D. degree in each department.
return departments ;return professors of  #1 ;return degrees of  #2 ;return #2 where  #3 is  Ph.D. ;return number of #4 for each #1
['select', 'project', 'project', 'comparative', 'group']