def METHOD_NAME(self, counters: Dict) -> Tuple[List[int], List[int]]:
    min_occurs = counters.pop("min", [])
    max_occurs = counters.pop("max", [])
    for path, counter in counters.items():
        mi, ma = self.METHOD_NAME(counter)
        if path[0] == "c":
            min_occurs.append(min(mi))
            max_occurs.append(max(ma))
        else:
            min_occurs.append(sum(mi))
            max_occurs.append(sum(ma))
    return min_occurs, max_occurs