Use new histogram:totals() method