add stats to DocInfo