Negative vote-counting approach for pairwise counting