Fix generator to use the correct word count.