Nucleotide count implementation