Added word count example using the counting of group elements.