code: def test_tag_detections_frames():
      dataset = foz.load_zoo_dataset("quickstart-video").clone()
  
      print(dataset.count_label_tags("frames.detections"))
  
      view = dataset.filter_labels("frames.detections", F("index") == 1)
  
      view.tag_labels("test", "frames.detections")
      print(dataset.count_label_tags("frames.detections"))
  
      view.untag_labels("test", "frames.detections")
      print(dataset.count_label_tags("frames.detections"))
  
file_path: fiftyone/tests/intensive/collections_tests.py
imports: import random
  import unittest
  import fiftyone
  import fiftyone.zoo
  from fiftyone import ViewField
label_desc: Use image node_id 6 for calling a global function with example usage: test_tag_detections_frames() without return types