Counting Inversion1