set sensor counts