How to add dynamic label numbers to one label

I made a dynamic cardview having dynamic label.
In each dynamic label there is written no. And I want to add all the numbers in a single label.
How can I do. I don’t know how to start and what to logic.

show your code so as t proceed further help

i hope you will be using number for each dynamic label so just by using
for each number from to by block just get the text of dynamic label with id and sum it using global variable and print it on the label as you requested