Update counting_inversion.c