Hi Haruspex:
I am counting the number of consecutive runs of similar digits in the sequence. So the run x1x refers to either the subsequence 0,1,0, or 0,1,-1 or -1,1,0 or -1,1,-1.
As another example the consecutive run of two positive ones viz x,1,1,x refers to the subsequences -1,1,1,0...