I want to add the implementation of finding the number of inversions in an array. Seeking for your approval. Thanks in advance.