fix S/R DIAGNOSTICS_COUNT for "periodic averaging diagnostics".
fix S/R DIAGNOSTICS_COUNT for "periodic averaging diagnostics".

altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h,altMITgcm/MITgcm66h