count can be performed on a string as well
Remove RNA nucleotides, iterating over DNA nucleotides plus uracil is sufficient