title: How to show count of each bin on histogram on the plot
body: <p>I figured out how to get the count of each bin from ggplot, does anyone know how to show these numbers on the plot?</p>
  
  <pre><code>g &lt;- ggplot()+geom_histogram()
  ggplot_build(g)$data[[1]]$count
  </code></pre>