count method
Returns the count of all entries matching the filter
.
Implementation
Future<int> count({Filter filter = Filter.empty}) async {
return await transaction(
(context) async => await context.count(
bean,
filter: filter,
),
);
}