service.count_lowerequal_threshhold function

Count how many values are less or equal than the defined threshhold.