onCount stream, called when the number of items changes.
Stream<int> onCount(Database database) => onSnapshots(database).map((e) => e.length);