Count the number of distinct delegates who are from counties with population above 50000.
return counties ;return population of  #1 ;return #1 where  #2 is  above 50000 ;return distinct delegates from  #3 ;return the number of #4
['select', 'project', 'comparative', 'project', 'aggregate']