Inversion count now pls check my code again

HEY @shrutikatyal
Updated your code and mentioned in comments :https://ide.codingblocks.com/s/329335