Count the nmers in a DNA sequence