Sam
list.filter {}.also { // one time init if it.isNotEmpty() }.forEach {}.also { //final cleanup but size of list is not known directly }