Gets the total number of elements in the cache.
Returns the count of stored elements
@override Future<int> size() async { await _ensureInitialized(); return _metadataCache.length; }