How to add frequency count labels to the bars in a bar graph using ggplot2? [duplicate]

ggplot(data=diamonds, aes(x=clarity)) +
geom_bar() +
geom_text(stat='count', aes(label=..count..), vjust=-1)

enter image description here