added large counting inversion test