title: How to write a query in hibernate for count(*)
body: <p>I want to execute the below query in <em>Hibernate</em>?     </p>
  
  <p><code>select count(*) from login where emailid='something' and password='something'</code></p>