title: how to cache count function in Laravel 5.1
body: <p>I want to cache the count function of my <em>acqusition</em> model.</p>
  
  <p>Indeed I have 1 800 000 acquis, and i dont want to count this every time.</p>
  
  <p>I don't want to do it in each controllers I use like :</p>
  
  <pre><code>$count = ( ! Cache::has('count_acquisition')) ? Cache::put('count_acquisition', Acquisition::count(), 60) : Cache::get('count_acquisition');
  </code></pre>
  
  <p>It's quite heavy, I would prefer to do this directly in my Acquisition model, but I don't how.</p>