Added countchar