public int getTotalCount() {
      return m_okCount + m_warningCount + m_criticalCount + m_unknownCount;
    }
Gets the total count of all alerts in the {@link Notification}

@return the total count of all alerts.
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java