title: eloquent laravel: How to get a row count from a ->get()
body: <p>I'm having a lot of trouble figuring out how to use this collection to count rows. </p>
  
  <pre><code>$wordlist = \DB::table('wordlist')-&gt;where('id', '&lt;=', $correctedComparisons)
                  -&gt;get();
  </code></pre>
  
  <p>I have tried <code>adding-&gt;count()</code> but didn't work. I have tried doing <code>count($wordlist)</code>. I'm not really sure what to do without needing a second request as <code>a-&gt;count()</code> method. </p>