heloo. first thanks for sharing your vast ray of knowledge.
problem
i want to count the number of shifts an employee works in a row. if employee has a day off the number resets to zero. the maximun number of shifts in a row is ten