rename inversion counters. add oop inversion counter