/guava/guava/src/com/google/common/io/CountingOutputStream.java
out.write( len, off, b) ;
out.write ( b, off, len ) ;
} public long getCount() { return count; } @Override public void write(byte[] b, int off, int len) throws IOException { <extra_id_0> count += len; } @Override public void write(int b) throws IOException { out.write(b); count++;