/**
 * This function takes in two dictionaries as input and returns the count of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return Count of common keys
 */
fun countCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Int {

    // Initialize a set to store the keys from dict1
    val keysSet = dict1.keys
    
    // Calculate the intersection of keys from dict2 and keysSet
    val commonKeys = keysSet.intersect(dict2.keys)
    
    // Return the count of common keys
    return commonKeys.size
}
/**
 * This function takes in two dictionaries as input and returns the count of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return Count of common keys
 */
fun countCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Int {
/**
 * This function takes in two dictionaries as input and returns the count of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return Count of common keys
 */
fun countCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Int {

    // Initialize a set to store the keys from dict1
    val keysSet = dict1.keys
    
    // Calculate the intersection of keys from dict2 and keysSet
    val commonKeys = keysSet.intersect(dict2.keys)
    
    // Return the count of common keys
    return commonKeys.size
}