{
  "identifier": "COUNT",
  "controlType" : "SECTION",
  "conditionals": {
    "show": "{{actionConfiguration.formData.command === 'COUNT'}}"
  },
  "children": [
    {
      "controlType": "SECTION",
      "label": "Select Collection to Query",
      "children": [
        {
          "label": "Collection",
          "configProperty": "actionConfiguration.formData.collection",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "evaluationSubstitutionType": "TEMPLATE"
        }
      ]
    },
    {
      "controlType": "SECTION",
      "label": "Query",
      "description" : "Optional",
      "children": [
        {
          "label": "Query",
          "configProperty": "actionConfiguration.formData.count.query",
          "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
          "inputType": "JSON",
          "evaluationSubstitutionType": "TEMPLATE",
          "placeholderText" : "{rating : {$gte : 9}}"
        }
      ]
    }
  ]
}