code: def _get_dtype_values_axis_for_count_nonzero(
      draw,
      in_available_dtypes,
      out_available_dtypes,
      min_num_dims=1,
      max_num_dims=10,
      min_dim_size=1,
      max_dim_size=10,
  ):
      input_dtype, values, axis = draw(
          helpers.dtype_values_axis(
              available_dtypes=helpers.get_dtypes(in_available_dtypes),
              min_num_dims=min_num_dims,
              max_num_dims=max_num_dims,
              min_dim_size=min_dim_size,
              max_dim_size=max_dim_size,
              valid_axis=True,
          )
      )
      axis = draw(st.one_of(st.just(axis), st.none()))
      output_dtype = draw(
          st.one_of(helpers.get_dtypes(out_available_dtypes))
      )
      return [input_dtype, output_dtype], values, axis
  
imports: from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 3 for calling a global function with example usage: _get_dtype_values_axis_for_count_nonzero(draw, in_available_dtypes, out_available_dtypes, min_num_dims, max_num_dims, min_dim_size, max_dim_size) and returns: list,  values,  axis