code: public static void addItemsHandled(String handledItemsType, int handledItemsNumber) {
      	JobLogger jobLogger = (JobLogger) getInstance();
          if (jobLogger == null) {
              return;
          }
  
          jobLogger.addItemsHandledInstance(handledItemsType, handledItemsNumber);
      }
docs: Number of failed actions in scheduler