A camera finds ten moving objects in every frame but does not say which is which. A planner needs “the same object as before”, not just a list of positions per frame.
You will link detections into tracks with a gate and a nearest-neighbour rule, see where it breaks, and count the identity switches that mark the breaks.