/**
 * Find the intersection of two lists of boolean values and count the number of True values.
 *
 * @param lst1 first list of boolean values
 * @param lst2 second list of boolean values
 * @return number of True values in the intersection of the two lists
 */
fun intersectBooleanCount(lst1: List<Boolean>, lst2: List<Boolean>): Int {

    val intersection = lst1.toSet() intersect lst2.toSet()
    val count = intersection.count { it }
    return count
}
/**
 * Find the intersection of two lists of boolean values and count the number of True values.
 *
 * @param lst1 first list of boolean values
 * @param lst2 second list of boolean values
 * @return number of True values in the intersection of the two lists
 */
fun intersectBooleanCount(lst1: List<Boolean>, lst2: List<Boolean>): Int {
/**
 * Find the intersection of two lists of boolean values and count the number of True values.
 *
 * @param lst1 first list of boolean values
 * @param lst2 second list of boolean values
 * @return number of True values in the intersection of the two lists
 */
fun intersectBooleanCount(lst1: List<Boolean>, lst2: List<Boolean>): Int {

    val intersection = lst1.toSet() intersect lst2.toSet()
    val count = intersection.count { it }
    return count
}