/**
 * This function counts the number of common elements between two lists using the OR operator and iteration.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between list1 and list2
 */
fun countCommonElements(list1: List<Any>, list2: List<Any>): Int {

    var count = 0

    for (element1 in list1) {
        for (element2 in list2) {
            if (element1 == element2) {
                count++
                break
            }
        }
    }

    return count
}
/**
 * This function counts the number of common elements between two lists using the OR operator and iteration.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between list1 and list2
 */
fun countCommonElements(list1: List<Any>, list2: List<Any>): Int {
/**
 * This function counts the number of common elements between two lists using the OR operator and iteration.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return the number of common elements between list1 and list2
 */
fun countCommonElements(list1: List<Any>, list2: List<Any>): Int {

    var count = 0

    for (element1 in list1) {
        for (element2 in list2) {
            if (element1 == element2) {
                count++
                break
            }
        }
    }

    return count
}