The count() function in plyr does what you want:
count()
plyr
library(plyr) count(mydf, "MONTH-YEAR")
1.4m articles
1.4m replys
5 comments
57.0k users