Statistics from Formulaire

I have created a form to allow our users to register for an organised activity. The user filling the form can write how many people he wants to register (family,friends,…). The form has been created using automatic features from Wix. All the fields has been generated as text.
I want to create a screen displaying how many forms has been filled and how many participants has been registered. No problem with the nb of forms, but i can not succeed in summing up all the number (as text in the collection). I tested both with wix.query and the foreachitem function of the repeater in which I display all the forms entered, but without success.

COde for the repeater analysis:

$w.onReady( function () {
… other stuffs…
// et on affiche le bilan
ShowSummary();
});

function ShowSummary() {
let NbRec = $w( “#InscriptionsBalades” ).getTotalCount();
console.log( "Nb Lignes " + NbRec); // OK

let NbParticipants = 0 ;

$w( “#InscriptionRepeater” ).forEachItem( ($item, itemData, index) => {
console.log( “Index : " + index);
console.log($item(”#texteCourt").text);
console.log(itemData.texteCourt);
} );
For index i have just index=0 as console display, so it does not seem to loop on the 3 records i have in my sandbox database!

Any ideas?

Claude