Return the type code of the template type that the most templates belong to.
return template types ;return templates that  belong to #1 ;return number of  #2 for each  #1 ;return #1 where #3 is  highest ;return type  code of  #4
['select', 'project', 'group', 'superlative', 'project']