Help me to take total of each time i clicked pluss button for one variable

in this app i want to add total each time i click the plus button of each item. can anyone suggest me a way to do this.
the footer part is in app.html and items are in tab1 page.

You could use a global variable