How many professors have a Ph.D. in each department?
return departments ;return professors of  #1 ;return #2 that  have  a Ph.D. ;return number of  #3 for each  #1
['select', 'project', 'filter', 'group']