{
    "uri": "https://www.fsa.go.jp/en/newsletter/index.html",
    "path": "D:\\SSN_INS\\JP--FSA--INS--NEWSLETTER\\",
    "pattern": "/.+/",
    "scope": "#main",
    "selector": "void",
    "extractors": [
        {
            "name": "TitleHtml",
            "query": {
                "scope": "title"
            }
        },
        {
            "name": "Title",
            "query": {
                "scope": "title"
            }
        }
    ],
    "tree": [
        {
            "type": "pseudo",
            "scope": ":scope .col-two_fp > div h2",
            "extractors": [
                {
                    "name": "Title",
                    "query": {
                        "scope": ":scope"
                    }
                },
                {
                    "name": "TitleHtml",
                    "query": {
                        "scope": ":scope"
                    }
                }
            ],
            "tree": [
                {
                    "type": "pseudo",
                    "scope": ":scope ~ h3",
                    "extractors": [
                        {
                            "name": "Title",
                            "query": {
                                "scope": ":scope",
                                "exclude": "span:has(a)"
                            }
                        },
                        {
                            "name": "TitleHtml",
                            "query": {
                                "scope": ":scope",
                                "exclude": "span:has(a)"
                            }
                        }
                    ],
                    "tree": [
                        {
                            "type": "pseudo",
                            "scope": ":scope ~ h4",
                            "extractors": [
                                {
                                    "name": "Title",
                                    "query": {
                                        "scope": ":scope",
                                        "exclude": "span:has(a)"
                                    }
                                },
                                {
                                    "name": "TitleHtml",
                                    "query": {
                                        "scope": ":scope",
                                        "exclude": "span:has(a)"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
This is an object has 'tree' for each and I need to get the length and loop through it
 
     
     
     
    