updates to compactor so selects only data we want; revert
change to metricValue since .itcount is not available to pymongo.