Sum of field after groupby?

Hi. Using stream with window, how can one get the sum of a field in all the series of a groupBy?