Data stream counter.