Count consecutive TRUE values within each block separately [duplicate]

Leave a Comment