/**
 * Given a DNA sequence as a string and a nucleotide, count and return 
 * the number of occurrences of the nucleotide in the DNA sequence.
 */
fun countNucleotides(string: String, nucleotide: Char): Int {

    return string.count { it == nucleotide }
}
/**
 * Given a DNA sequence as a string and a nucleotide, count and return 
 * the number of occurrences of the nucleotide in the DNA sequence.
 */
fun countNucleotides(string: String, nucleotide: Char): Int {
/**
 * Given a DNA sequence as a string and a nucleotide, count and return 
 * the number of occurrences of the nucleotide in the DNA sequence.
 */
fun countNucleotides(string: String, nucleotide: Char): Int {

    return string.count { it == nucleotide }
}