Returns the current size of the cache, defined by the implementation.
This typically excludes the size of keys or metadata, if any.