Show kendo ui grid total record count with MVVM.
Kendo UI MVVM allows functions of objects to be called in the binding syntax: <div class="totals"><span>Totals: </span><span data-bind="text: products.data().length"></span></div> In this case the viewmodel property [products] is a kendo.data.DataSource object. To get the total count