• + 0 comments

    function getCount(objects) { return objects.filter(obj => obj.x === obj.y).length; }