I am working with a large set of data and I have something like whats shown below. I only want to count the 1s that are in strings, not the single 1 in red
Is there any way to do that? Not all the strings of 1s are the same size.
0
0
1
1
0
1
0
1
1
1
Is there any way to do that? Not all the strings of 1s are the same size.
0
0
1
1
0
1
0
1
1
1