title: Telerik grid: retrieve row count with Ajax binding
body: <p>how can I access grid row count with Ajax binding in Telerik ASP.Net MVC grid?
  I need to display total in a footer, see code snippet below.   The total has to update on insert and delete.   </p>
  
  <p>With server binding, there is @Model.Count().  How can I do the same thing with Ajax binding?</p>
  
  <p>thank you!</p>
  
  <pre><code>    @{
      Html.Telerik()
          .Grid&lt;ContractMonth&gt;()
          .Name("contractMonthGrid")
          .DataBinding(dataBinding =&gt; dataBinding
              .Ajax()
              .Select("_AjaxBinding", "ContractMonth")
              .Insert("_AjaxInsert", "ContractMonth")
              .Delete("_AjaxDelete", "ContractMonth")
              )
          .DataKeys(keys =&gt; keys.Add(c =&gt; c.Id))
          .ToolBar(commands =&gt; commands.Insert())
          .Columns(columns =&gt;
          {
              columns.Bound(o =&gt; o.StartDate).EditorTemplateName("Date").FooterTemplate(@&lt;text&gt;@Model.Count()&lt;/text&gt;);
  </code></pre>