Per bucket instance counting for batches