code: def test_info_no_count(path_gpx):
      """Make sure we can still get a `$ fio info` report on datasources that do
      not support feature counting, AKA `len(collection)`.
      """
      runner = CliRunner()
      result = runner.invoke(main_group, ["info", path_gpx])
      assert result.exit_code == 0
      lines = _filter_info_warning(result.output.splitlines())
      assert (
          len(lines) == 1
      ), "First line is warning & second is JSON.  No more."
      assert json.loads(lines[0])["count"] is None
  
file_path: Fiona/tests/test_fio_info.py
imports: import json
  from pkg_resources import iter_entry_points
  import re
  import sys
  from click.testing import CliRunner
  import pytest
  from fiona.fio.main import main_group
label_desc: Use image node_id 6 for calling a global function with example usage: test_info_no_count(path_gpx) without return types