func (b *MemoryBackend) GetCardinality() int64 {
	b.mu.RLock()
	cardinality := int64(len(b.scores))
	b.mu.RUnlock()

	return cardinality
}
// GetCardinality returns the number of different signatures seen recently.
GetCardinality returns the number of different signatures seen recently.
// GetCardinality returns the number of different signatures seen recently .
func (b *MemoryBackend) GetCardinality() int64 {
	b.mu.RLock()
	cardinality := int64(len(b.scores))
	b.mu.RUnlock()
	return cardinality
}
func ( b * MemoryBackend ) GetCardinality ( ) int64 { b . mu . RLock ( ) cardinality := int64 ( len ( b . scores ) ) b . mu . RUnlock ( ) return cardinality }
GetCardinality returns the number of different signatures seen recently.
GetCardinality returns the number of different signatures seen recently .