counter

http://tcllib.sourceforge.net/doc/counter.html

[What is the status of this package - is it deprecated?] No, it isn't. It is the successor to the deprecated stats module.]