update reverse_pairs_count_by_merge_sort