Task statuses sum fn.