Extending support for queryset.sum and queryset.average methods

For supporting embedded fields and array fields