q.label.concurrency counts the label intervals active at each observation. Event lifetimes include both their start and end observations, matching the endpoint convention used by triple-barrier labels.
Concurrent labels share future returns and are therefore not independent observations.
The first event is active from positions 0 through 3, the second from 1 through 5, and the third from 4 through 6. Counts outside all event lifetimes are zero.