smaz-tools: add an accumulator for word count (for dictionary building)