word count implementation in Golang. Used in Map&Go project as a example