I am trying to plot proportions on the y-axis of my bar graph, as opposed to the usual count. 

I am doing something like the following:

```r
ggplot(data=mpg, aes(model))+geom_bar(aes(y=stat(count/sum(count)))

```

I am getting a blank plot.