Inversion counting works as it is meant to, but that way is not exactly a great way.