title: Does Spring Data JPA have any way to count entites using method name resolving?
body: <p><a href="http://static.springsource.org/spring-data/data-jpa/docs/1.1.0.RELEASE/reference/html/">Spring Data JPA</a> supports counting entities using specifications. But does it have any way to count entities using method name resolving? Let's say I want a method <code>countByName</code> to count entities with specific name, just like a method <code>findByName</code> to fetch all entities with specific name.</p>