Accumulate a value entered in a loop (begin repeat)

Welcome to the ODK forum, @Moustapha_Pouye ! We're glad you're here. When you get a chance, please introduce yourself on this forum thread.
The following documentation can help you on your problem:

https://docs.getodk.org/form-operators-functions/?sum#sum