Adding support for counter columns while reading

The current implementation does not handle counter columns while reading the query rows. It was a simple change to add support for it.