Counting streaks


I have a base where I track several daily routines to try to gamify the forming of new habits. Each row is a bunch of checkboxes and a date.

Is there some way to count streaks like this?

How many days in a row have I managed not to smoke for example :smoking: