/**
 * Given a dictionary where the values are booleans, determine the count of 'true' values.
 *
 * @param dictionary A dictionary with boolean values.
 * @return The count of 'true' values in the dictionary.
 */
fun countTrueValues(dictionary: Map<String, Boolean>): Int {

    var count = 0
    for (value in dictionary.values) {
        if (value) {  // Check if value is true
            count++
        }
    }
    return count
}
/**
 * Given a dictionary where the values are booleans, determine the count of 'true' values.
 *
 * @param dictionary A dictionary with boolean values.
 * @return The count of 'true' values in the dictionary.
 */
fun countTrueValues(dictionary: Map<String, Boolean>): Int {
/**
 * Given a dictionary where the values are booleans, determine the count of 'true' values.
 *
 * @param dictionary A dictionary with boolean values.
 * @return The count of 'true' values in the dictionary.
 */
fun countTrueValues(dictionary: Map<String, Boolean>): Int {

    var count = 0
    for (value in dictionary.values) {
        if (value) {  // Check if value is true
            count++
        }
    }
    return count
}