As soon as you quantify something (lines of code, tickets closed, tokens spent, whatever) it starts to be gamed and therefore ceases to be a reasonable measure of work.