code: def consume(self, seq):
          '''Counts all k-mers in sequence.'''
          for kmer in iter_kmers(seq, self.k, canonical=self.canonical):
              self._incr(kmerf consume(self, seq):
          '''Counts all k-mers in sequence.'''
          for kmer in iter_kmers(seq, self.k, canonical=self.canonical):
              self._incr(kmer)
docs: Counts all k-mers in sequence.