function count(arr, item) { let num=0 arr.forEach((value)=>{ ...