Adds character counter