code: @SuppressWarnings({"unused", "WeakerAccess"})
      public int getInboxMessageCount(){
          synchronized (inboxControllerLock) {
              if (this.ctInboxController != null) {
                  return ctInboxController.count();
              } else {
                  getConfigLogger().debug(getAccountId(),"Notification Inbox not initialized");
                  return -1;
              }
          }
      }
docs: Returns the count of all inbox messages for the user
  @return int - count of all inbox messages