add character counter to compose interface