Show all template type codes and the number of documents using each type.
return template type  codes ;return documents using #1 ;return number of  #2 for each  #1 ;return #1 ,  #3
['select', 'project', 'group', 'union']