added a simple bucket system for the wordcount