It's in a calculated value. I tried the former, and still got the same error unfortunately. I have tried count(../preceding-sibling::*[1]/my:SubTaskDeliverables)+1 and that worked, however, it doesn't actually count the sections lol. so when you go to insert the repeating section, the calculated value returns 1 indefinitely. Thanks ...