added a read counter conveinece function