title: Using hibernate return count value of a query
body: <p>this is my mysql query:</p>
  
  <pre><code>SELECT count(*) 
  FROM bw_jobs 
  WHERE year(job_date)=year(curdate()) AND month(job_date)=month(curdate());
  </code></pre>
  
  <p>How to use this in hibernate to get count value?</p>