/**
 * This function takes in two lists and returns the number of common elements present in both lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return The number of common elements in the lists.
 */
fun countCommonElements(lst1: List<Any>, lst2: List<Any>): Int {

    var commonElements = 0

    for (element in lst1) {
        if (element in lst2) {
            commonElements++
        }
    }

    return commonElements
}
/**
 * This function takes in two lists and returns the number of common elements present in both lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return The number of common elements in the lists.
 */
fun countCommonElements(lst1: List<Any>, lst2: List<Any>): Int {
/**
 * This function takes in two lists and returns the number of common elements present in both lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return The number of common elements in the lists.
 */
fun countCommonElements(lst1: List<Any>, lst2: List<Any>): Int {

    var commonElements = 0

    for (element in lst1) {
        if (element in lst2) {
            commonElements++
        }
    }

    return commonElements
}