Calculates the sum of all the emitted numbers.
Future<int> sum() => fold(0, (acc, item) => acc + item);