Initial try at counter (the image one)

Lots of duplicated code from text_counter :-( I assume this is ok because we want them to be stand alone to some degree?

Using Imager to produce a PNG, and then using URI to write out a data URI to embed the image in the HTML itself, was super easy! :-)