Fix batch_count splicing.