/**
 * Given a list of animals and a specific section, count the number of animals in that section.
 *
 * @param animals A list of strings representing different animals.
 * @param section A slice representing the specific section of animals to count.
 * @return The number of animals in the specified section.
 *
 * Example:
 * animals_list = listOf("dog", "cat", "rabbit", "elephant", "lion", "tiger")
 * section_slice = animals_list.slice(2..4)  // Slice from index 2 to 4 (inclusive)
 * countAnimalsInSection(animals_list, section_slice)  // Output: 3
 */
fun countAnimalsInSection(animals: List<String>, section: List<String>): Int {

    return section.size
}
/**
 * Given a list of animals and a specific section, count the number of animals in that section.
 *
 * @param animals A list of strings representing different animals.
 * @param section A slice representing the specific section of animals to count.
 * @return The number of animals in the specified section.
 *
 * Example:
 * animals_list = listOf("dog", "cat", "rabbit", "elephant", "lion", "tiger")
 * section_slice = animals_list.slice(2..4)  // Slice from index 2 to 4 (inclusive)
 * countAnimalsInSection(animals_list, section_slice)  // Output: 3
 */
fun countAnimalsInSection(animals: List<String>, section: List<String>): Int {
/**
 * Given a list of animals and a specific section, count the number of animals in that section.
 *
 * @param animals A list of strings representing different animals.
 * @param section A slice representing the specific section of animals to count.
 * @return The number of animals in the specified section.
 *
 * Example:
 * animals_list = listOf("dog", "cat", "rabbit", "elephant", "lion", "tiger")
 * section_slice = animals_list.slice(2..4)  // Slice from index 2 to 4 (inclusive)
 * countAnimalsInSection(animals_list, section_slice)  // Output: 3
 */
fun countAnimalsInSection(animals: List<String>, section: List<String>): Int {

    return section.size
}