write an application that counts the words in a String entered by the user. Words are separated by any combination of spaces, periods, commas, semicolons, question marks, exclamation points, or dashes. Figure 7-21 shoes tow typical executions. Save the file as Countwords.Java