for a mass data, i use batches to write lines. it is efficient. but the counters take too much time. is there any way to set counters in batch?