Fix a typo for duration_period_count, thanks 10982