cleaned up nucleotide-count exercise a bit