text: const CustomError = require("../extensions/custom-error");
  
  module.exports = function countCats(arr) {
      let count = 0;
      for (let i = 0; i < arr.length; i++) {
          for (let j = 0; j < arr[i].length; j++) {
              if (arr[i][j] === '^^') {
                  count += 1;
              }
          }
      }
      return count;
  };