Inversion count getting wron answer


why i am getting 6 instead of 8

@dhairya16
hello dhairya,
image
it should be j<=e