Function to find largest string which satisfy condition
function CountTotal ( str ) { let ans = 0 ; let n = str . length ; let s = str . split ( ' ' ) ; let cnt = 0 ; for ( let i = 0 ; i < n ; i ++ ) {