/** * Returns the number of books. * * @return the number of books * @throws SystemException if a system exception occurred */ public int getBooksCount() throws SystemException { return bookPersistence.countAll(); }