code: def test_tag_detections():
      dataset = foz.load_zoo_dataset("quickstart").clone()
      print(dataset.count_label_tags("predictions"))
  
      view = dataset.filter_labels(
          "predictions", F("confidence") > 0.99
      )
  
      view.tag_labels("test", "predictions")
      print(dataset.count_label_tags("predictions"))
  
      view.untag_labels("test", "predictions")
      print(dataset.count_label_tags("predictions"))
  
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 5 for calling a global function with example usage: test_tag_detections() without return types