I have a JSON file in which I have to validate the number of all of its nodes and sub-nodes. However, I can't find a generic way to get those counts 

Here is how the JSON file looks

```json
{
  "total": 100,
  "offset": 0,
  "sources_used": [
    {
      "source": "mysource",
      "source_last_updated": "2018-10-24T16:16:10.698+00:00",
      "last_imported": "2019-01-17T22:13:03.861+00:00",
      "import_rate": ""
    }
  ],
  "search_performed_at": "2019-01-17T22:39:01.034+00:00",
  "results": [
    {
      "id": "id1",
      "label": "label1",
      "type": [
        "Countries"
      ],
      "sub_class_of": [

      ],
      ...............................

```

I do have to make sure that the `total` value up top corresponds to a number of nodes/children of the `results` element

I am able to successfully parse JSON file into .NET JSON Object

```cs
string contents = File.ReadAllText("jsonfile.json");
var jsonobject = JObject.Parse(contents);

```

Now the question is, how can I get all children/all elements of the `results` element so that I could validate it against a `total` element