update template to take erb properties for dea type and count