Arel monkey patch that let's me call my custom written db aggregate functions by name from calculate.

For Arel < 4.0 drop the 'a' parameter