func (s *Cache) Count() int {
	if s.removeExpired() == raiqub.WriteLocked {
		defer s.Unlock()
	} else {
		defer s.RUnlock()
	}

	return len(s.values)
}
func (s *Cache) Count() int {
	if s.removeExpired() == raiqub.WriteLocked {
		defer s.Unlock()
	} else {
		defer s.RUnlock()
	}

	return len(s.values)
}
func ( s * Cache ) Count ( ) int { if s . removeExpired ( ) == raiqub . WriteLocked { defer s . Unlock ( ) } else { defer s . RUnlock ( ) } return len ( s . values ) }
// Count gets the number of cached values by current instance.
Count gets the number of cached values by current instance .