code: def _countOverlap(rep1, rep2):
      
      overlap = 0
      for e in rep1:
        if e in rep2:
          overlap += 1
      return overlap
docs: Return the overlap between two representations. rep1 and rep2 are lists of
      non-zero indices.