List document type codes and the number of documents in each code.
return document type codes ;return documents in #1 ;return number of  #2 for each  #1 ;return #1 ,  #3
['select', 'project', 'group', 'union']