{
    // write code here
    let n = data.length;
    let number = 0;
    for(let i = 0;i < n;i++){
         if(data[i] === k){
             number++;
         }
        }
    return number;
}
module.exports = {
    GetNumberOfK : GetNumberOfK
};