/**
 * This function takes in two sets and returns the count of common elements between them.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The count of common elements between set1 and set2.
 */
fun countCommonElements(set1: Set<Any>, set2: Set<Any>): Int {

    val commonElements = set1.intersect(set2)
    return commonElements.size
}
/**
 * This function takes in two sets and returns the count of common elements between them.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The count of common elements between set1 and set2.
 */
fun countCommonElements(set1: Set<Any>, set2: Set<Any>): Int {
/**
 * This function takes in two sets and returns the count of common elements between them.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The count of common elements between set1 and set2.
 */
fun countCommonElements(set1: Set<Any>, set2: Set<Any>): Int {

    val commonElements = set1.intersect(set2)
    return commonElements.size
}