Add #sum method to retrieve sum of all observed values

Sum is necessary for the Prometheus' Summary primitive.

@matttproud