- implemented Inversions count