Add command to calculate year_analysis.