@RequiresSession
  public int getNoticesCount(Predicate predicate) {
    return 0;
  }
Gets the total count of all {@link AlertNoticeEntity} rows that match the
specified {@link Predicate}.

@param predicate
         the predicate to apply, or {@code null} for none.
@return the total count of rows that would be returned in a result set.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java