compute pairwise ranking counts