remove templates for which all properties have occurrence count 0
bugfix: var -> val