code: def test_bar_count():
      p = ggplot(data, aes("x")) + geom_bar(aes(fill="factor(z)"))
  
      assert p == "bar-count"
  
file_path: plotnine/tests/test_geom_bar_col_histogram.py
imports: import numpy
  import pandas
  from plotnine import aes, after_stat, geom_bar, geom_col, geom_histogram, geom_text, ggplot, scale_x_sqrt
  from plotnine.stats.binning import freedman_diaconis_bins
  from .conftest import layer_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_bar_count() without return types