Nice! summary() displays the categories and the number of so-called observations per category.
summary()
Didn't we wan't to display the summary of our factor instead of summing it?