/**
 * Given a list of artist names and a list of corresponding boolean values indicating whether each individual artist is currently available (true) or not (false), write a function to count the number of available artists.
 *
 * @param artistNames A list of strings representing the names of artists.
 * @param booleanValues A list of boolean values indicating the availability of each artist.
 * @return The total count of available artists.
 *
 * Example:
 * countBooleans(listOf("Picasso", "Monet", "Van Gogh", "Da Vinci"), listOf(true, false, true, false))
 * Output: 2
 */
fun countBooleans(artistNames: List<String>, booleanValues: List<Boolean>): Int {

    var count = 0

    for (boolean in booleanValues) {
        if (boolean) {
            count++
        }
    }

    return count
}
/**
 * Given a list of artist names and a list of corresponding boolean values indicating whether each individual artist is currently available (true) or not (false), write a function to count the number of available artists.
 *
 * @param artistNames A list of strings representing the names of artists.
 * @param booleanValues A list of boolean values indicating the availability of each artist.
 * @return The total count of available artists.
 *
 * Example:
 * countBooleans(listOf("Picasso", "Monet", "Van Gogh", "Da Vinci"), listOf(true, false, true, false))
 * Output: 2
 */
fun countBooleans(artistNames: List<String>, booleanValues: List<Boolean>): Int {
/**
 * Given a list of artist names and a list of corresponding boolean values indicating whether each individual artist is currently available (true) or not (false), write a function to count the number of available artists.
 *
 * @param artistNames A list of strings representing the names of artists.
 * @param booleanValues A list of boolean values indicating the availability of each artist.
 * @return The total count of available artists.
 *
 * Example:
 * countBooleans(listOf("Picasso", "Monet", "Van Gogh", "Da Vinci"), listOf(true, false, true, false))
 * Output: 2
 */
fun countBooleans(artistNames: List<String>, booleanValues: List<Boolean>): Int {

    var count = 0

    for (boolean in booleanValues) {
        if (boolean) {
            count++
        }
    }

    return count
}