title: how to count row in crystal report
body: <p>I've got data as picture below, i'm using crystal report to display statistic report from that data.</p>
  
  <p>i want to count MRN which got 2 until 5 rows of episode number only.
  currently im doing </p>
  
  <p>1) group MRN in crystal report and count(episode number). </p>
  
  <p>2) create 1 formula like : 
  if count(episode number) >=2 and count(episode number)&lt;=5 then count(episode number)"</p>
  
  <p>3) put the formula to report and try to insert summary to count that formula, but no selection summary appear for that formula.</p>
  
  <p>Can you give me an idea how to count MRN with 2 until 5 episode only? refer to picture for clear explanation</p>
  
  <p><a href="https://i.stack.imgur.com/0qrbR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0qrbR.jpg" alt="enter image description here"></a></p>