count words

bug fixed