Emit rtg stats at central location.
Update insn count when keeping Perm node.