sqlCount method
Count rows
Implementation
Future<int?> sqlCount({String? where, bool verbose = false}) async {
final n = db!
.count(table: table!.name, where: where, verbose: verbose)
.catchError((dynamic e) =>
throw ReadQueryException("Can not count from database $e"));
return n;
}