Count Device Alert rule