Return the id and type code of the template that is used for the greatest number of documents.
return templates ;return documents that  used #1 ;return number of  #2 for each  #1 ;return #1 where #3 is  greatest ;return id of  #4 ;return type code of  #4 ;return #5 ,  #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']