public long countOf ( DomainObjectMatch < ? > match ) { long ret ; Object so = InternalAccess . getQueryExecutor ( this . domainQuery ) . getMappingInfo ( ) . getInternalDomainAccess ( ) . getSyncObject ( ) ; if ( so != null ) { synchronized ( so ) { ret = intCountOf ( match ) ; } } else ret = intCountOf ( match ) ; return ret ; }
Answer the number of domain objects