word-count for coffee
updated as per instructions