style and character counter