code: def test_get_num_points_per_agg_freq(params):
      model = MultistageForecastEstimator(**params)
      assert model._get_num_points_per_agg_freq(
          data_freq="H", agg_freqs=["D", "2H"]
      ) == [24, 2]
  
imports: import datetime
  import numpy
  import pandas
  import pytest
  from testfixtures import LogCapture
  import greykite.common.constants
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.sklearn.estimator.lag_based_estimator import LagBasedEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastEstimator
  from greykite.sklearn.estimator.multistage_forecast_estimator import MultistageForecastModelConfig
  from greykite.sklearn.estimator.simple_silverkite_estimator import SimpleSilverkiteEstimator
  from greykite.sklearn.uncertainty.uncertainty_methods import UncertaintyMethodEnum
label_desc: Use image node_id 12 for calling a global function with example usage: test_get_num_points_per_agg_freq(params) without return types