I would like to get the sum of counts of specific values.
Thus i would try to count the sum of values included in expression if([SensorValue]>High or [SensorValue]<Low).
So your original expression would be something like sum(if([Sensor Value]>High or [Sensor Value]<Low,[Sensor Value])) correct? Why can't you just replace "sum" with "count"?
Do you have a sample file of what you are trying to do?
Retrieving data ...