Character counter example

Added templates to allow the implementation of the application example.