title: Is there a way to filter using count of a nested array item when using OData Query?
body: <p>I am using Microsoft Graph <a href="https://docs.microsoft.com/en-us/graph/api/user-list-calendarview?view=graph-rest-1.0&amp;tabs=cs" rel="nofollow noreferrer">List CalendarView</a> to get calendar events from outlook. I would like to filter out items where count of attendees is 0. (Logically meaning time blocked for self).</p>
  
  <p>I understand there is a $count parameter that will return the count of items. However, in the List CalendarView response i am not after the count of calendar items, but rather the count of attendees within each calendar item.  And infact to use a <em>not equal (ne)</em> filter based on it.</p>
  
  <pre><code>{
    "value": [
      {
        "originalStartTimeZone": "originalStartTimeZone-value",
        "originalEndTimeZone": "originalEndTimeZone-value",
        "iCalUId": "iCalUId-value",
        "reminderMinutesBeforeStart": 99,
        "isReminderOn": true,
        "attendees":[
              {
                  "type":"required",
                  "status":{
                      "response":"none",
                      "time":"0001-01-01T00:00:00Z"
                  },
                  "emailAddress":{
                      "name":"Samantha Booth",
                      "address":"samanthab@a830edad905084922E17020313.onmicrosoft.com"
                  }
              },
              {
                  "type":"required",
                  "status":{
                      "response":"none",
                      "time":"0001-01-01T00:00:00Z"
                  },
                  "emailAddress":{
                      "name":"Dana Swope",
                      "address":"danas@a830edad905084922E17020313.onmicrosoft.com"
                  }
              }
          ]
      }
    ]
  }
  </code></pre>
  
  <p>I want to specifically filter out any event items where the array size of "attendees" is 0. </p>
  
  <p>Is this feasible using OData query params?</p>