considering affine/relevant unit tokens
counter processes starting from 1; add a 'count' process that drops input
map a stateful process over a stream