Hello, everyone! Update on this concern. I already addressed this concern. These are the steps that I performed:
1. Inserted a calculate question type that counts the entries inputted by the user in the first repeat (Owners Declaration)
2. The number that will be calculated in No. 1 will be placed in the Repeat Count of the second repeat (Assessment).
3. For the fields in the second repeat (Assessment) that will be auto-populated by the records in the first repeat (Owners Declaration), I used the combination of indexed-repeat and position (..) function in the calculation column. Please see sample calculation entry below.
indexed-repeat (${field name}, ${repeat name}, position(..))
Thank you everyone for helping and for providing reference links. 🙂