Steve Reich's Clapping Music was written in 1972 for two performers who clap a repeating rhythmic sequence (shown below), with periodic offsets in one part to acheive a phasing effect.
The Pd patch below recreates Clapping Music, with controls for the speed and number of measures to repeat before advancing the sequence.
The [count] and [counter] objects send a bang from the right-most outlet when they reach the count limit, but what we actually need for the sequence index count is a bang after the count limit is output (thus, the use of the [trigger], [==11] and [gate 1] objects).