code: def dicts_to_sum(objects: Union[Dict[str, Dict], List[dict]]):
      if isinstance(objects, dict):
          lists = objects.values()
      else:
          lists = objects
  
      # Convert each dictionary to counter
      counters = map(collections.Counter, lists)
      # Sum all the counters
      return functools.reduce(operator.add, counters)
  
imports: import ast
  import collections
  import functools
  import json
  import operator
  import os
  import re
  import sys
  import time
  from typing import Dict, List, Optional, Union
  import requests
  from get_ci_error_statistics import get_job_links
  from get_previous_daily_ci import get_last_daily_ci_reports
  from slack_sdk import WebClient
label_desc: Use image node_id 3 for calling a global function with example usage: dicts_to_sum(objects) and returns: functools