title: Geom bar graph and stat_count()
body: <p>I would like to use a geom_bar for my data:</p>
  
  <pre><code>library(ggplot2)
  p = ggplot(df, aes(x = word, y = freq)) + geom_bar(fill = "blue")
  p + coord_flip() + labs(title = "Word frequency")
  </code></pre>
  
  <p>in data like this:</p>
  
  <pre><code>'data.frame':   953 obs. of  2 variables:
   $ word: Factor w/ 953 levels "music","play","movies playing",..: 75 70 81 405 291 455 192 470 22 269 ...
   $ freq: int  702 700 683 597 477 443 414 ...
  </code></pre>
  
  <p>but I receive this error for plot:</p>
  
  <pre><code>Error: stat_count() must not be used with a y aesthetic.
  </code></pre>
  
  <p>I found it is possible to use qplot which not using stat_count() but is there any way to use ggplot2?</p>