Added character count feature