code: def test_len_raises(geometrycollection_geojson):
      geom = shape(geometrycollection_geojson)
      with pytest.raises(TypeError):
          len(geom)
  
file_path: shapely/shapely/tests/geometry/test_collection.py
imports: import numpy
  import pytest
  from shapely import GeometryCollection, LineString, Point, wkt
  from shapely.geometry import shape
label_desc: Use image node_id 7 for calling a global function with example usage: test_len_raises(geometrycollection_geojson) without return types