'compact' part is to display directly on SF toolbar with list of unique template and a count value
'full' get all templates (no distinct filter) and get some metric values like time to be executed