Add run-length-counting