/**
 * Given a list of actor/actress names, count the number of names that contain a specific substring.
 *
 * @param names A list of actor/actress names.
 * @param substring The substring to search within the names.
 * @return The count of names that contain the provided substring.
 */
fun actorActressCount(names: List<String>, substring: String): Int {

    var count = 0
    for (name in names) {
        if (substring in name) {
            count++
        }
    }
    return count
}
/**
 * Given a list of actor/actress names, count the number of names that contain a specific substring.
 *
 * @param names A list of actor/actress names.
 * @param substring The substring to search within the names.
 * @return The count of names that contain the provided substring.
 */
fun actorActressCount(names: List<String>, substring: String): Int {
/**
 * Given a list of actor/actress names, count the number of names that contain a specific substring.
 *
 * @param names A list of actor/actress names.
 * @param substring The substring to search within the names.
 * @return The count of names that contain the provided substring.
 */
fun actorActressCount(names: List<String>, substring: String): Int {

    var count = 0
    for (name in names) {
        if (substring in name) {
            count++
        }
    }
    return count
}