code: def test_calculated_expressions():
      p = (
          ggplot(mtcars, aes(x="factor(cyl)", y="..count..+1"))
          + geom_bar()
      )
      # No exception
      p._build()
  
file_path: plotnine/tests/test_stat.py
imports: import numpy
  import pytest
  from plotnine import aes, geom_bar, ggplot
  from plotnine.data import mtcars
  from plotnine.exceptions import PlotnineError, PlotnineWarning
  from plotnine.geoms.geom import geom
  from plotnine.stats.stat import stat
label_desc: Use image node_id 3 for calling a global function with example usage: test_calculated_expressions() without return types