RUNS

RUNS(x) length of run of identical values up to each unit in x.