This MR fixes the while loop in ann_count. The problem was that if there is only one sample in the scene, the loop condition is never met. Moreover, the loop condition will always be False before the annotations in the last sample of the scene are added to the count.
This MR fixes the while loop in ann_count. The problem was that if there is only one sample in the scene, the loop condition is never met. Moreover, the loop condition will always be False before the annotations in the last sample of the scene are added to the count.