Added countchar tool