function getNumWords( string ) { // Split the string where there is spaces, then count the array length return string.split( ' ' ).length }
function getNumWords( string ) { // Split the string where there is spaces, then count the array length return string.split( ' ' ).length }