code: def test_get_number_of_examples_raises_value_error(
      model_data: RasaModelData,
  ):
      model_data.data["dense"] = {}
      model_data.data["dense"]["data"] = [
          np.random.randint(5, size=(2, 10))
      ]
      with pytest.raises(ValueError):
          model_data.number_of_examples()
  
file_path: rasa/tests/utils/tensorflow/test_model_data.py
imports: import copy
  import pytest
  import numpy
  from rasa.utils.tensorflow.model_data import RasaModelData
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_number_of_examples_raises_value_error(model_data) without return types