title: How to use "count" in rails to show how many projects/tasks user has?
body: <p>I defined method 'count' in my tasks controller as:</p>
  
  <pre><code>def count
    @count = current_user.tasks.count
  end
  </code></pre>
  
  <p>I'm not sure how to show that in my tasks views. Do I just use <code>Tasks count: &lt;% @count %&gt;</code>? How do I get in my view how many tasks the user has?</p>
  
  <p>Thanks</p>