Change default number of visible alarms.
Add alarm counting.