WK1 JS Practice

new function wordCount added to js file