week1-inversion count