I want a formula that calculates the number of green cells in a column C like in the picture, counting result will be in column D and when encountering 2 consecutive green cell