Add nucleotide_count implementation