/**
 * This function takes in a list of species and a target species, and returns the number of times the target species appears in the list.
 *
 * @param speciesList A list of species
 * @param targetSpecies The species to count
 * @return The count of target species in the species list
 */
fun countSpecies(speciesList: List<String>, targetSpecies: String): Int {

    var count = 0

    for (species in speciesList) {
        if (species == targetSpecies) {
            count++
        }
    }

    return count
}
/**
 * This function takes in a list of species and a target species, and returns the number of times the target species appears in the list.
 *
 * @param speciesList A list of species
 * @param targetSpecies The species to count
 * @return The count of target species in the species list
 */
fun countSpecies(speciesList: List<String>, targetSpecies: String): Int {
/**
 * This function takes in a list of species and a target species, and returns the number of times the target species appears in the list.
 *
 * @param speciesList A list of species
 * @param targetSpecies The species to count
 * @return The count of target species in the species list
 */
fun countSpecies(speciesList: List<String>, targetSpecies: String): Int {

    var count = 0

    for (species in speciesList) {
        if (species == targetSpecies) {
            count++
        }
    }

    return count
}