@override Future<int> count(String collection) async { final keys = _preferences.getKeys().toList()..sort(); return keys.length; }