/** @see Dao#countOf(PreparedQuery) */
 public long countOf(PreparedQuery<T> preparedQuery) {
   try {
     return dao.countOf(preparedQuery);
   } catch (SQLException e) {
     logMessage(e, "countOf threw exception on " + preparedQuery);
     throw new RuntimeException(e);
   }
 }
 /** @see Dao#countOf() */
 public long countOf() {
   try {
     return dao.countOf();
   } catch (SQLException e) {
     logMessage(e, "countOf threw exception");
     throw new RuntimeException(e);
   }
 }