@staticmethod<EOL><INDENT>def _countOverlap(rep1, rep2):<DEDENT>
overlap = <NUM_LIT:0><EOL>for e in rep1:<EOL><INDENT>if e in rep2:<EOL><INDENT>overlap += <NUM_LIT:1><EOL><DEDENT><DEDENT>return overlap<EOL>
Return the overlap between two representations. rep1 and rep2 are lists of
non-zero indices.