title: How do I count the number of occurences of a specific value in a group?
body: <p>I have a bunch of data in groups in Crystal Reports. There's a status field, and for each group I want to display the number of occurrences of a specific status in the group footer.  </p>
  
  <p>Example:</p>
  
  <pre><code>==============
  Group 1 Status
  ==============
  Foo
  Bar
  Foo
  Foo
  Foo
  Foo
  Foo
  Bar
  Bar
  Foo
  
  ----Number of occurrences of "Bar" displayed here-----
  
  ==============
  Group 2 Status
  ==============
  Bar
  Bar
  Foo
  
  ----Number of occurrences of "Bar" displayed here-----
  </code></pre>
  
  <p>How can I accomplish this?</p>