Fixed count for alarm-service when search condition is set