Added passing wordCount to ResultDisplayer