        
        return self.mapReduce(mapper: mapper, reducer: reducer, flows: flows)
    }
    
    public func histogram() -> [Element: Int] {
        return self.reduce(into: [:]) { counts, elem in counts[elem, default: 0] += 1 }