title: Laravel count raw query always return zero
body: <p>I am working with multiple databases in single project. When I run simple raw query to get another database table count but it always return zero instead of actual counts. Even I have more than 1 million records in table.</p>
  
  <p>I run raw query in following formats but result is zero</p>
  
  <pre><code>$dbconn = \DB::connection("archive_db");
  $dbconn-&gt;table('activities_archived')-&gt;count() 
  
  $sql = "SELECT COUNT(*) as total FROM activities_archived";
  $result = \DB::connection("archive_db")-&gt;select(\DB::raw($sql));
  </code></pre>
  
  <p>Event I have set the database connections strict option to false but still facing same issue.</p>
  
  <p>Now I am totaly stuck that why this issue is coming</p>