Counting and restarting

Hello Knime

i have a table hundreds of workers but in the end i need one last info where it counts how many consecutive days of work they had

here is an example of the table

and how i need it to look like

it does not need to look exactly like that but as close as possible

i did try to find on other forum questions but i was not able to find a good way to fix this

thank you for your time