You can sum without using count():
count()
{ var(func: type(Person)){ v as age } x(){ sum(val(v)) } }