Sum of all records of a bucket

Hello,

is there a way to output the sum of all records of a bucket?

If i use |> count() only the single _measurements are counted, but I would like to know how many there are in total.

Thanks a lot!