Note that this count-up code is very flexible. It doesn't care if there's a "k" after the number inside the span with the attribute. Likewise, it can handle a $ before the number, whatever. It can probably handle whatever you (or the clients) throw at it.
this one has an optional "decimals" setting in its attributes
This one is slower, also it's not even using a span, I just put the attribute on the text block
This one has a custom start number and uses a specific locale