code: public Counters getCounters() throws IOException {
      ensureState(JobState.RUNNING);
      org.apache.hadoop.mapred.Counters ctrs = info.getCounters();
      if (ctrs == null) {
        return null;
      } else {
        return new Counters(ctrs);
      }
    }
docs: Gets the counters for this job.
  
  @return the counters for this job.
  @throws IOException