count method
Return the number of matching entities without fetching them all.
Implementation
int count() {
_checkNotDisposed();
final resultset = _executeQuery();
try {
_checkResultsetError(resultset);
return nosqueel.ns_resultset_count(resultset);
} finally {
nosqueel.ns_resultset_destroy(resultset);
}
}