Support 2 phase COUNT() aggregates.

Create a new SUM aggregate function whose return type is non-nullable to match the return type of COUNT.