Calculation of consecutive days

Hello everyone! I have a table called 'Activities' with a column 'Date' containing the dates of all the workouts. Starting from today's date, I would like to know for how many consecutive days I have been working out. If I skip a day, I would like the count to reset to zero. How can I do that? Thank you very much!

0 1 156
1 REPLY 1
Top Labels in this Space