character count tracker on mb modal