Hello everyone,
I am trying to solve a problem. I need to count the consecutive similar numbers in a branch. For example from the data tree branch {84;0} of the image attached, I need a new data tree with these two possibilities in branch {84;0}: 1) I do not indicate any number I am looking for and in branch {84;0} the new items are (in order) 5, 2, 10, 1; or 2) I indicate the how many consecutive number 1 there are in the branch and the new items in branch {84;0} are 5, 10.
Thank you in advance.
Francesco