pub fn diversity(counts: &[u64], motifs: &[Motif]) -> Diversity
Computes the diversity statistics from counts and their motifs.