code: def count_unbalanced_brackets(line):
      
      count = 0
      for opening, closing in ['()', '[]', '{}']:
          count += abs(line.count(opening) - line.count(closing))
  
      return count
docs: Return number of unmatched open/close brackets.