sum of all greater nodes