title: how to count the data using solr
body: <p>am using solr 6
      i am having 5 tables. i want to count the data for all table.
      i can fetch single table count. But i don't know how to get all table data count.</p>
  
  <pre><code>every table having different  core name
  example user core name is user,user1 core name is user1
  
  how to fetch the count for all table in single query ?
  
  This is my code
  $client = $this-&gt;solarium_client-&gt;solr(array("core"=&gt;$this-&gt;config-&gt;item('school_table_core')));
  $query = $client-&gt;createQuery($client::QUERY_SELECT);
  $resultset = $client-&gt;execute($query);
  echo $resultset-&gt;getNumFound(); 
  
  return the correct count.
  </code></pre>