I believe my code is OK, why is not for the test?

this code should return the count number and hold or bet … the function is called a couple times and count keeps adding or subtracting but for every iteration I have a return with the count and the hold or bet string…
the exercise doesn’t allow writing outside the function so, i have to return on each call…
so… what am I supposed to do?

let count = 0;

function cc(card) {
// Cambia solo el código debajo de esta línea
if (card>1 && card<7){
  count ++;
}else if(card == 10 || card =="j" || card == "Q" || card == "K" || card == "A"){
  count --;
}

if (count > 0){
return count + " Bet";
}else {
   return count + " Hold";
}
// Cambia solo el código encima de esta línea
}

cc(2); cc(3); cc(7); cc('K'); cc('A');
  **Información de tu navegador:**

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Desafío: Conteo de cartas

Enlaza al desafío:

“j” is not the same as “J”.