/**
 * This function takes a list of musician names and a list of song titles as input.
 * It counts the number of songs that match the given musician and returns the count.
 */
fun countSongs(musicians: List<String>, songs: List<String>): Int {

    var count = 0

    // Iterate over each musician in the list
    for (musician in musicians) {
        // Iterate over each song in the list
        for (song in songs) {
            // Check if the current song belongs to the given musician
            if (song.startsWith(musician)) {
                count++
            }
        }
    }

    return count
}
/**
 * This function takes a list of musician names and a list of song titles as input.
 * It counts the number of songs that match the given musician and returns the count.
 */
fun countSongs(musicians: List<String>, songs: List<String>): Int {
/**
 * This function takes a list of musician names and a list of song titles as input.
 * It counts the number of songs that match the given musician and returns the count.
 */
fun countSongs(musicians: List<String>, songs: List<String>): Int {

    var count = 0

    // Iterate over each musician in the list
    for (musician in musicians) {
        // Iterate over each song in the list
        for (song in songs) {
            // Check if the current song belongs to the given musician
            if (song.startsWith(musician)) {
                count++
            }
        }
    }

    return count
}