v1.5.2 extra args supported in transform_sample_counts