count method
Implementation
Future<double> count() async {
var operation = resolver.getOperation(entityName, 'count')!;
var result = await this.client().queryManager.mutate(MutationOptions(
document: operation.operation,
operationName: operation.operationName,
variables: {}));
if (result.hasException) {
throw GraphClientConfig.translateException(
operation, null, result.exception!);
}
return result.data!["${artifactPlural}Count"] as double;
}