take

fun <T> Iterator<T>.take(count: Int): List<T>

Consume this iterator by taking the first count elements