copilothow to calculate aggregate value - Search