code: def test_conversion_count_with_no_group_by(
      request: FixtureRequest,
      mf_test_session_state: MetricFlowTestSessionState,
      dataflow_plan_builder: DataflowPlanBuilder,
      dataflow_to_sql_converter: DataflowToSqlQueryPlanConverter,
      sql_client: SqlClient,
  ) -> None:
      """Test conversion metric with no group by data flow plan rendering."""
      metric_spec = MetricSpec(element_name="visit_buy_conversions")
  
      dataflow_plan = dataflow_plan_builder.build_plan(
          query_spec=MetricFlowQuerySpec(
              metric_specs=(metric_spec,),
          ),
      )
  
      convert_and_check(
          request=request,
          mf_test_session_state=mf_test_session_state,
          dataflow_to_sql_converter=dataflow_to_sql_converter,
          sql_client=sql_client,
          node=dataflow_plan.sink_output_nodes[0].parent_node,
      )
  
file_path: metricflow/metricflow/test/plan_conversion/dataflow_to_sql/test_conversion_metrics_to_sql.py
imports: from __future__ import annotations
  import pytest
  from _pytest.fixtures import FixtureRequest
  from dbt_semantic_interfaces.references import EntityReference
  from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity
  from metricflow.dataflow.builder.dataflow_plan_builder import DataflowPlanBuilder
  from metricflow.plan_conversion.dataflow_to_sql import DataflowToSqlQueryPlanConverter
  from metricflow.protocols.sql_client import SqlClient
  from metricflow.specs.specs import DimensionSpec, MetricFlowQuerySpec, MetricSpec, TimeDimensionSpec
  from metricflow.test.fixtures.setup_fixtures import MetricFlowTestSessionState
  from metricflow.test.plan_conversion.test_dataflow_to_sql_plan import convert_and_check
label_desc: Use image node_id 4 for calling a global function with example usage: test_conversion_count_with_no_group_by(request, mf_test_session_state, dataflow_plan_builder, dataflow_to_sql_converter, sql_client) without return types