title: How to get CakePHP current record position - for display in view (record ?? of ??)
body: <p>I am trying to find the position/index of the current record within a group of records for display in a view.
  So for instance, I may have 10 records in the database, and the user may be viewing record #5 out of 10. So I want to be able to display this info on the view.ctp:
  You are viewing record# 5 of 10 total records.</p>
  
  <p>I already know how to get the count of records as follows:</p>
  
  <pre><code>$total_record_count = $this-&gt;TblAsset-&gt;find('count');
  </code></pre>
  
  <p>I don't need to know the $id of the record, I already have that value passed in via the URL as the Primary Key value for the record.</p>