/**
  * Returns the number of rows that match the dynamic query.
  *
  * @param dynamicQuery the dynamic query
  * @return the number of rows that match the dynamic query
  * @throws SystemException if a system exception occurred
  */
 public long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException {
   return bookPersistence.countWithDynamicQuery(dynamicQuery);
 }