Future<int> count() async { if (_countFunc == null) { throw Exception('QueryBuilder@count _countFunc not defined'); } return _countFunc!(); }