Adds COUNT and AVG aggregates for zunionstore/zinterstore