title: How to get the total row count?
body: <p>I want to get total row count in iReport. The intention is to print a label based on the total row count.</p>
  
  <p>My Format is like this (Assume that there are 10 records):</p>
  
  <pre class="lang-none prettyprint-override"><code>    This is page 1
  
      No Name Add
      1  ---- ---
      2  ---- ---
      3  ---- ---
      4  ---- ---
      5  ---- ---
  
      cont...2
  
  
      This is page 2
  
      No Name Add
      6  ---- ---
      7  ---- ---
      8  ---- ---
      9  ---- ---
      10 ---- ---
  </code></pre>
  
  
  
  <p>How do I get all record count before printing the report?</p>