Added first version of word count snippet