template change to set counter as section id