Adds charc ounter

This depends on #518