[impl] count inversions