use the stream-counter class

also:

 * edit documentation
 * revert resuming response from s3