protected void exec(WGDatabase db) throws Throwable {
setResult(new Integer(WGStructEntry.this.getAllContent(true).size()));
}
};
if (task.run() == true) {
contentCount = ((Integer) task.getResult());;
}
else {
throw new WGAPIException("Exception retrieving content count", task.getThrowable());
}