Find the number of records of each policy type and its type code.
return policy types ;return records of #1 ;return number of  #2 for each #1 ;return type codes of #1 ;return #3 ,  #4
['select', 'project', 'group', 'project', 'union']