To this very day we have organizations that measure “programmer productivity” by the “number of lines of code produced per month”; this number can, indeed, be counted, but they are booking it on the wrong side of the ledger, for we should talk about “the number of lines of code spent”.
I am reminded of one of Dijkstra’s sayings: