/**
 * Given two lists, find the number of common elements between them.
 *
 * @param list1 A list of aerospace components.
 * @param list2 A list of aerospace components.
 * @return An integer representing the number of common elements present in both lists.
 */
fun countCommonElements(list1: List<String>, list2: List<String>): Int {

    var count = 0

    for (element in list1) {
        if (element in list2) {
            count++
        }
    }

    return count
}
/**
 * Given two lists, find the number of common elements between them.
 *
 * @param list1 A list of aerospace components.
 * @param list2 A list of aerospace components.
 * @return An integer representing the number of common elements present in both lists.
 */
fun countCommonElements(list1: List<String>, list2: List<String>): Int {
/**
 * Given two lists, find the number of common elements between them.
 *
 * @param list1 A list of aerospace components.
 * @param list2 A list of aerospace components.
 * @return An integer representing the number of common elements present in both lists.
 */
fun countCommonElements(list1: List<String>, list2: List<String>): Int {

    var count = 0

    for (element in list1) {
        if (element in list2) {
            count++
        }
    }

    return count
}