title: Get Kendo Grid filtered datasource count
body: <p>I'm using tool bar filter Dropdown in kendo grid. When user selects the dropdown I need to get the count of filtered records. Below code is not working for me</p>
  
  <pre><code>function ExamDateChange() { // function on dropdown change
          var value = this.value(),
               grid = $("#grid").data("kendoGrid");
  
          if (value) {
              grid.dataSource.filter({ field: "ExamID", operator: "eq", value: value });
  
              grid.dataSource.fetch(function () {
                  var view = dataSource.view();
                  alert(view.length); 
  
              });
  
          } else {
  
              grid.dataSource.filter({});
          }
  
  
      }
  </code></pre>