returning feature count from compaction step.