Returns a count of the total number of commands that have been invoked in this interpreter.
Note that since the bytecode compiler arrived in Tcl 8.0, the machinery that counts command invocations has been effectively disconnected from the operation of many Tcl commands. As development continues, more and more command evaluation doesn't count in the eyes of info cmdcount.
This command is best treated in modern Tcl programs as a curious historical relic. Not to be relied on for correct operation of scripts.
Lars H 2008-05-24: The above was written in 2003. Is it still true? I recall discussions about bytecode generation and cmdcount to have surfaced several times in the meantime, in a way that suggests core maintainers still care about upholding the cmdcount. It is used by interp limit, is it not?