Given an integer array nums, return the number of reverse pairs in the array. A reverse pair is a pair (i, j) where: 0 2 nums[j].