title: How to get the count of all records of a model in Rails console
body: <p>I am new to Rails.</p>
  
  <p>I have an ActiveRecord model called <code>Post</code>. I'd like to get count of all the records of the <code>Post</code> model. How can I accomplish this?</p>
  
  <p>Thanks in advance for your help.</p>