function objectCount(str) { let arr = str.split(" "); let count = 0 ; let obj = {}; for(let i = 0 ; i <