Hi Nguyen,
Thank you very much for using Syncfusion Products.
We were unable to reproduce the reported issue from our end. In the input template, a formula (=COUNT(E4:E8)) is used in the cell E9, which counts the number of cells that contain numbers as well as the number of arguments that contain numbers. So, after applying template markers in the sample, the value will be returned as 1, since the values from E4 to E8 contains only one number value.
For your reference, we have attached the sample. So, could you please try the sample from the below link and let us know if this helps you?
Sample Link:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=TemplateMarkerSample1318342669.zipPlease let us know if you need any further assistance.
Regards,
Pauline Bosco