alerts: log number of alerts