package gobstore // Count returns the length of the dictionary func (j *GobStore[T]) Count() int { j.Lock() defer j.Unlock() return len(j.values) }