count method
Implementation
@override
FutureOr<DbResult<int>> count(Access access) {
if (access.query != null) {
Logger.of(context).warn(context, "query_not_supported",
title: "Query "
"not supported with SimpleCacheDataAccess , so its skipped");
}
return DbResult<int>(data: data[access.collection]?.length ?? 0);
}