Query nested object where the parent key is an ID

Hi,
given the following structure:

 {
        "items": {
            "9885d23d753c4cc9a5c19eba7eb219ab": {
                "7f55e8da871946d3aa2514074f5bbcd5": {
                    "catalogId": "12625",
                    "count": "12",
                    "default_price": 15.13,
                    "discount": 0,
                    
                    "id": "7f55e8da871946d3aa2514074f5bbcd5",
                    "isGeneric": false,
                    "name": "name3",
                    "price_data": {
                        "discount": 0.03,
                        "original_price": 15.6
                    }
                },
                "93bfd85914444c4aa6a87dd8d61669ea": {
                    "catalogId": "22361",
                    "count": "1",
                    "default_price": 37.83,
                    "discount": 0,
                    "id": "93bfd85914444c4aa6a87dd8d61669ea",
                    "isGeneric": false,
                    "name": "name2",
                    "price_data": {
                        "discount": 0.03,
                        "original_price": 39
                    },
                    "unitType": "quantity"
                },
                "a6eb1d61a2af44d9af9ad7ef2fbf2031": {
                    "catalogId": "20817",
                    "count": "1",
                    "default_price": 95.844,
                    "discount": 0,
                    "id": "a6eb1d61a2af44d9af9ad7ef2fbf2031",
                    "isGeneric": false,
                    "name": "name1",
                    "price_data": {
                        "original_price": 56,
                        "spacialPrice": 95.844
                    },
                    "unitType": "quantity"
                }
            }
        }
    },....

how can i select all item.count (for instance) when it is nested under a variable key

SELECT d1.name, d2.name, d2.val.`count`
FROM default AS d
UNNEST OBJECT_PAIRS(d.items) AS d1
UNNEST OBJECT_PAIRS(d1.val) AS d2
WHERE .....;

Wow! that worked perfectly!! thank you