make count variables in word and sentence actually be the amount contained