adds image_series.n_frames config property