s3 example uses StreamCounter module