{"size": 279, "ext": "js", "max_stars_repo_path": "src/count-cats.js", "max_stars_repo_name": "lp-msarchitect/basic-js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/count-cats.js", "max_issues_repo_name": "lp-msarchitect/basic-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/count-cats.js", "max_forks_repo_name": "lp-msarchitect/basic-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.25, "max_line_length": 50, "alphanum_fraction": 0.523297491}
module.exports = function countCats(backYard) {
  let catsCount = 0;
  for (let i = 0; i < backYard.length; i++) {
    for (let j = 0; j < backYard[i].length; j++) {
      if (backYard[i][j] === "^^") {
        catsCount = catsCount + 1;
      }
    }
  }
  return catsCount;
};
