We measured the processed samples with a counter in our process function that resets to zero after the reset() call.