open_in_new
content_copy
let words = input.match(/(\w+)/g).length