@VisibleForTesting
  int size() {
    return batch == null ? 0 : batch.size();
  }
Get the current number of operations received.
samza-core/src/main/java/org/apache/samza/table/batching/BatchProcessor.java