pub fn count<G, Tr, K, R, F, P>(
prefixes: &VecCollection<G, (P, usize, usize), R>,
arrangement: Arranged<G, Tr>,
key_selector: F,
index: usize,
) -> VecCollection<G, (P, usize, usize), R>Expand description
Reports a number of extensions to a stream of prefixes.
This method takes as input a stream of (prefix, count, index) triples.
For each triple, it extracts a key using key_selector, and finds the
associated count in arrangement. If the found count is less than count,
the count and index fields are overwritten with their new values.