text: const array = [0, null, undefined, 1, 2, 3, "aaa"];
  
  console.log(countTruthy(array));
  
  function countTruthy(array) {
    let count = 0;
    for (let value of array) {
      if (value) {
        count++;
      }
    }
    return count;
  }
  