How to find the number of alarms processed in one quarter