computational part of sync() moved into AnalysisStats::recalculate_from_job_counts and can be run separately