try sum function
https://docs.dgraph.io/query-language/#sum-and-avg
{
var(func: has(owns)) {
c as count(owns)
}
computer() {
total: sum(val(c))
}
}
try sum function
https://docs.dgraph.io/query-language/#sum-and-avg
{
var(func: has(owns)) {
c as count(owns)
}
computer() {
total: sum(val(c))
}
}