title: Eloquent Collection: Counting and Detect Empty
body: <p>This may be a trivial question but I am wondering if Laravel recommends a certain way to check whether an Eloquent collection returned from <code>$result = Model::where(...)-&gt;get()</code> is empty, as well as counting the number of elements.</p>
  
  <p>We are currently using <code>!$result</code> to detect empty result, is that sufficient? As for <code>count($result)</code>, does it actually cover all cases, including empty result?</p>