Postgres Aggregate Functions Not Function In Excel