code: def test_expand_param_grid_count(model, param_grid, count):
      assert len(utils.expand_param_grid(model, param_grid)) == count
  
imports: from __future__ import annotations
  import pytest
  from river import compose, linear_model, optim, preprocessing, tree, utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_expand_param_grid_count(model, param_grid, count) without return types