CTU increments its current value on a false-to-true transition. A sensor held true for several scans represents one event, not several parts. The done output becomes true when the current value reaches or exceeds the preset. Include a low interval between separate parts and inspect the count while a sensor stays high.
A practical count trace alternates false and true between distinct cartons, but holds true for several scans on each carton. The current value increases only at the first true scan of each pair. Inspect CV directly before relying on the done lamp, because a wrong count can reach a plausible lamp state.
Read the tag list and the requested sequence before editing.