added code to track bytes read by the MmTiles

Change-Id: Ie6764f31a2c8b2e69ddab3d64a7c2475bb13b828
added function toCountedPipeOut

Change-Id: I15ca33094a528ee8409b664cb64f9281dfe15a03
track bytes put into and read by MmTile

Change-Id: I8c30e957379e954e32560e27e53b191ead9ced01