Something has gone wrong with the current iimplementation of counting the number of unique local variables for a function, the number of unique operations used, and therefore total operations. Either fix current implementation at IR-level or move everything to AST level.