add count on sms template typing