Correctly locate the alert count.