Delete count_inversion