function count(arr, item) {
    let num = 0;
    for(let k of arr){
        num += item==k 
    }
    return num
}