The new scrolling platform tutorials, have a sprite HUD with collectables displayed as numbers rather then just icons. Joe goes over it more in depth in the intermediate tutorial.
The way it's set up right now does what you want, but only goes up to 9, before giving an extra life and ticking over to 0. It's a good place to start though, you'd just have to update it to add a few extra digits.