human
Write a python function to count inversions in an array. Here is a solution in Python:
=====
Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
 def get_Inv_Count(arr): 
    inv_count = 0
    for i in range(len(arr)): 
        for j in range(i + 1, len(arr)): 
            if (arr[i] > arr[j]): 
                inv_count += 1
    return inv_count