InversionCounter