- fixed bug in aggs when missing sub_aggs

- added new aggs ValueCountAgg, AvgAgg
- fixed BucketAgg logic error when no sub_aggs given