Code example for CountingOutputStream

Methods: getCount