AMBARI-8698. Alerts UI: Alerts counts should show correct values (srimanth)