class_docstr: This helper class wraps the DatasetTemplates class
  - Initialized the DatasetTemplates for all existing template folder
  - Give access to each DatasetTemplates
  - Provides aggregated counts over all DatasetTemplates
class_docstr_tok: ["This","helper","class","wraps","the","DatasetTemplates","class","-","Initialized","the","DatasetTemplates","for","all","existing","template","folder","-","Give","access","to","each","DatasetTemplates","-","Provides","aggregated","counts","over","all","DatasetTemplates"]
code: def __init__(self):
      # Dict of all the DatasetTemplates, key is the tuple (dataset_name, subset_name)
      fetching_templates_if_not_exist()
      self.datasets_templates: Dict[
          (str, Optional[str]), DatasetTemplates
      ] = self._collect_datasets()
  
imports: import logging
  import os
  import random
  import re
  import uuid
  from collections import Counter, defaultdict
  from shutil import rmtree
  from typing import Dict, List, Optional, Tuple
  import pandas
  import pkg_resources
  import yaml
  from jinja2 import BaseLoader, Environment, meta
  from ..constants import AUTOMM
label_desc: Use image node_id 1 to create a new TemplateCollection object  with example: obj = TemplateCollection()