Prayer beads or worry beads, I am not sure what they are.
One thing I do know is they are very popular around this region.
I think this guy was using it as a way to pass some time and it
gives him an excuse to wander into the city each day and talk to his mates.