I did a template helper who count the items in my collection, the I want to do the following code
<span class="badge bg-green">{{numberOfAlertes}}
{{#if numberOfAlertes > 1}}
alertes
{{else}}
alerte
{{/if}}
</span>
But I have an error with the test numberOfAlertes > 1
someone could help me to do what I want to do ?