Exporting the statistic relevant to the # of nodes read during xact execution

This is actually old code, that I wrote to check something on the fly. Basically I populate the set of nodes a transaction reads from at runtime.
In particular, I think the "iterator" stuff can be improved (maybe you can tell me how you would do it).
Hope there's no big issues