/**
 * This function takes a list of customers and a segment as input, and returns the count of customers in that segment.
 */
fun countCustomersInSegment(customers: List<Map<String, String>>, segment: String): Int {

    var count = 0
    for (customer in customers) {
        if (customer["segment"] == segment) {
            count++
        }
    }
    return count
}
/**
 * This function takes a list of customers and a segment as input, and returns the count of customers in that segment.
 */
fun countCustomersInSegment(customers: List<Map<String, String>>, segment: String): Int {
/**
 * This function takes a list of customers and a segment as input, and returns the count of customers in that segment.
 */
fun countCustomersInSegment(customers: List<Map<String, String>>, segment: String): Int {

    var count = 0
    for (customer in customers) {
        if (customer["segment"] == segment) {
            count++
        }
    }
    return count
}