Taifun
4
identify the day and store it in a variable or TinyDB
and if you find out, that the day changed, then reset your counter
you can find methods to work with date and time in the clock component
https://ai2.appinventor.mit.edu/reference/components/sensors.html#Clock
Taifun