Ah, ty @David_Logan, I misunderstood the question.
David is right that you definitely don't need to add TrackObjects just to get the labeled ObjectNumbers. DisplayDataOnImage will work as well, though unfortunately the output when you try to save it is a bit funny.
It's worth pointing out also that even if you had no annotated images from CP at all the objects are numbered by 1) Center in Y Top->Bottom and 2) Center in X Left->Right, so you can generally figure out what part of the image to look in for Object 1 vs Object 30. If you need to confirm, each object's XY center coordinates are reported so you could open the image in CP, ImageJ, etc, go to that location, and figure out which is which.