change word_count to integer