Habpanel count turned on lights

Hello all,
I want to display in habpanel the number of lights that are on. But I have a problem with the color lights. Here I have entered as a condition that they should be displayed if their value is not equal to 0,0,0.

When switching off the lights, however, only the last value changes.

Is it possible to write something like *,*,0?

{{(itemsInGroup('gLight') | filter:{type:'Switch', state:'ON'}).length + (itemsInGroup('gLight') | filter:{type:'Color', state:'!0,0,0'}:true).length + (itemsInGroup('gLight') | filter:{type:'Dimmer', state:'!0'}:true).length}}

Someone an idea?