def get_tagged_objects_count_on_frame(annotation):
    tagged_objects = 0
    for label in annotation.labels:
        if (len(label.tags) > 0):
            tagged_objects += 1
    return tagged_objects
def get_tagged_objects_count_on_frame(annotation):
    tagged_objects = 0
    for label in annotation.labels:
        if (len(label.tags) > 0):
            tagged_objects += 1
    return tagged_objects