/**
 * This function takes in two lists and returns the number of common elements between them.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between the two lists
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): Int {

    val commonElements = list1.toSet().intersect(list2.toSet())
    return commonElements.size
}
/**
 * This function takes in two lists and returns the number of common elements between them.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between the two lists
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): Int {
/**
 * This function takes in two lists and returns the number of common elements between them.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between the two lists
 */
fun findCommonElements(list1: List<Any>, list2: List<Any>): Int {

    val commonElements = list1.toSet().intersect(list2.toSet())
    return commonElements.size
}