Xquery 如何获取 available_markets 包含的元素多于 2 的歌曲名称

Xquery How to get the name of the song where the available_markets contains more elements than 2

我有一个 JSON 文件,其中包含有关 100 位 Spotify 艺术家的信息。我正在尝试获取“availabla_markets”包含的元素多于 2 的歌曲的名称。 示例:

{
"href": "https://api.spotify.com/v1/playlists/37i9dQZF1DX2RxBh64BHjQ/tracks?offset=0&limit=100&additional_types=track",
"items": [
    {
        "added_at": "2021-11-29T23:29:54Z",
        "added_by": {
            "external_urls": {
                "spotify": "https://open.spotify.com/user/"
            },
            "href": "https://api.spotify.com/v1/users/",
            "id": "",
            "type": "user",
            "uri": "spotify:user:"
        },
        "is_local": false,
        "primary_color": null,
        "track": {
            "album": {
                "album_type": "single",
                "artists": [
                    {
                        "external_urls": {
                            "spotify": "https://open.spotify.com/artist/0Njy6yR9LykNKYg9yE23QN"
                        },
                        "href": "https://api.spotify.com/v1/artists/0Njy6yR9LykNKYg9yE23QN",
                        "id": "0Njy6yR9LykNKYg9yE23QN",
                        "name": "Nardo Wick",
                        "type": "artist",
                        "uri": "spotify:artist:0Njy6yR9LykNKYg9yE23QN"
                    }
                ],
                "available_markets": [
                    "AD",
                    "AE"
                ],
                "external_urls": {
                    "spotify": "https://open.spotify.com/album/6SEeNB2xGW1kmysKSvWYqC"
                },
                "href": "https://api.spotify.com/v1/albums/6SEeNB2xGW1kmysKSvWYqC",
                "id": "6SEeNB2xGW1kmysKSvWYqC",
                "name": "Me or Sum (feat. Future & Lil Baby)",
            },
            "artists": [
                {
                    "external_urls": {
                        "spotify": "https://open.spotify.com/artist/0Njy6yR9LykNKYg9yE23QN"
                    },
                    "name": "Nardo Wick",
                }
            ],
            "available_markets": [
                "AD",
                "AE",
                "AG",
                "AL",
            ],
            "disc_number": 1,
            "duration_ms": 225664,
            "external_urls": {
                "spotify": "https://open.spotify.com/track/1qlh1WxuWilyIWRwdsKMuJ"
            },

            "name": "Me or Sum (feat. Future & Lil Baby)",
        },
    }
}

如何 return 歌曲名称(例如:“Me or Sum (feat. Future & Lil Baby)”),其中“available_markets”包含的元素多于 2 使用Xquery?

json-doc('xxx')?items?*?track[count(?available_markets?*) gt 2]?name