public int getWarningCount() {
      return m_warningCount;
    }
Gets the total number of WARNING alerts in the {@link Notification}.

@return the WARNING count.
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java