/**
 * Given a list of dance moves performed by a dancer, count the number of times a specific move appears.
 * @param dancerMoves The list of dance moves performed by the dancer.
 * @param targetMove The specific dance move to count.
 * @return The number of times the target move appears in the dancer's moves.
 */
fun countDanceMoves(dancerMoves: List<String>, targetMove: String): Int {

    var count = 0
    for (move in dancerMoves) {
        if (move == targetMove) {
            count++
        }
    }
    return count
}
/**
 * Given a list of dance moves performed by a dancer, count the number of times a specific move appears.
 * @param dancerMoves The list of dance moves performed by the dancer.
 * @param targetMove The specific dance move to count.
 * @return The number of times the target move appears in the dancer's moves.
 */
fun countDanceMoves(dancerMoves: List<String>, targetMove: String): Int {
/**
 * Given a list of dance moves performed by a dancer, count the number of times a specific move appears.
 * @param dancerMoves The list of dance moves performed by the dancer.
 * @param targetMove The specific dance move to count.
 * @return The number of times the target move appears in the dancer's moves.
 */
fun countDanceMoves(dancerMoves: List<String>, targetMove: String): Int {

    var count = 0
    for (move in dancerMoves) {
        if (move == targetMove) {
            count++
        }
    }
    return count
}