TinyDB and counter

Hi, I created a cocktail machine working with smartphone and an app made with MIT APP.
I want to know the ranking of the most requested cocktails. I created an array with the cocktail names and a number field.
Each time a cocktail is served I want to increment the number field by one. I watched a lot of tutorials but I'm stuck.
Could you help me, please.
Here the block I made for the cocktail margarita.
blocsstatinydb

Like so ?

image

I'll try it tonight, thank you in advance

TIMAI2, It works very well. Thank you very much!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.