code: def mutCounter(individual):
      """Adds or remove an item from an individual"""
      if random.random() > 0.5:
          individual.update([random.choice(ITEMS_NAME)])
      else:
          val = random.choice(ITEMS_NAME)
          individual.subtract([val])
          if individual[val] < 0:
              del individual[val]
      return (individual,)
  
file_path: deap/examples/ga/xkcd.py
imports: import random
  from operator import attrgetter
  from collections import Counter
  import numpy
  from deap import algorithms
  from deap import base
  from deap import creator
  from deap import tools
label_desc: Use image node_id 3 for calling a global function with example usage: mutCounter(individual) and returns: individual