title: Datatable row count not working with search result
body: <p>In the view the code is working fine and showing me the count and result. Also on search. However when I search any word I want that count according to the search result but in my case its showing me total count of the all price fields. It's not showing the current search result count. Can anyone please help me?</p>
  
  <p>My Datatable code for custom search and count of last two fields:    </p>
  
  <pre class="lang-js prettyprint-override"><code>$(document).ready(function() {
      var table = $('#example').DataTable({
          "scrollX": true,
          "bLengthChange": false,
          dom: 'Bfrtip',
          buttons: [{
          extend: "excel",
          className: "darse"
      },{
          extend: "print",
          className: "ddf"
      }]
  });
  </code></pre>