SmoothCounter is a script that enables you to count between 2 numbers (with a given precision) in a given period of time.
Prototype & script.aculo.us
Practical Prototype and script.aculo.us