code: protected synchronized int loadSize() throws PersistenceBrokerException
      {
          PersistenceBroker broker = getBroker();
          try
          {
              return broker.getCount(getQuery());
          }
          catch (Exception ex)
          {
              throw new PersistenceBrokerException(ex);
          }
          finally
          {
              releaseBroker(broker);
          }
      }
docs: Determines the number of elements that the query would return. Override this
  method if the size shall be determined in a specific way.
  
  @return The number of elements