Nucleotide count exercise | 1st iteration