nucleotide-count in js, first submission