I have a procedure with x steps. In the title we manually type the total number of steps. As you may understand this process often result in failure, where the number in the title does not correspond with the actual number of steps.
Is there a solution to automatically get Indesign to count the steps below a certain paragraph style and add the number to the title. I haven’t found anything similar.
For example, where "5" in the title is automatically generated:
How to Count (5 Steps)
// Thanks in advance