title: I want to create Variable count in JasperReport
body: <p>In my report, I have two values of column "Status" are: Y/N. 
  I want to count "Y" in "Status".
  I created a variable $V{count_y} with Variable Expression : String.valueOf($F{status})=="Y" but $V{count_y} count all record (include Y and N).</p>
  
  <pre><code>&lt;variable name="count_y" class="java.lang.Integer" calculation="Count"&gt;
      &lt;variableExpression&gt;&lt;![CDATA[String.valueOf($F{status})=="Y"]]&gt;&lt;/variableExpression&gt;
  &lt;/variable&gt;
  </code></pre>
  
  <p>Now, how can i count? 
  Thanks !</p>