added character counter in compose