Converts this counting table to a Map.
Map<K, int> toMap() => Map<K, int>.fromEntries(_table.values.map((e) => e.asMapEntry));