
    Given a list of delivery vehicle arrival timestamps at checkpoints, write a function to count the number of instances where a vehicle dispatched later arrived before one that was dispatched earlier. This analysis helps identify traffic bottlenecks and routing inefficiencies in the delivery fleet's operations.
    

    
def get_Inv_Count(arr):
    """
    Given a list of delivery vehicle arrival timestamps at checkpoints, write a function to count the number of instances where a vehicle dispatched later arrived before one that was dispatched earlier. This analysis helps identify traffic bottlenecks and routing inefficiencies in the delivery fleet's operations.
    

    """
def get_Inv_Count(arr):
    """
    Given a list of delivery vehicle arrival timestamps at checkpoints, write a function to count the number of instances where a vehicle dispatched later arrived before one that was dispatched earlier. This analysis helps identify traffic bottlenecks and routing inefficiencies in the delivery fleet's operations.
    

    """
    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