@Override
 public void processEnded(T context) {
   super.processEnded(context);
   if (batchCount > 0) {
     batchProcessed(batchCount);
   }
 }
 @Override
 public void processStarted(T context) {
   super.processStarted(context);
   splitter.reset();
   batchCount = 0;
   batchesProcessed = 0;
 }