requireCountOrNull

fun requireCountOrNull(condition: T.() -> Boolean, count: Int): Self?
fun requireCountOrNull(condition: T.() -> Boolean, range: IntRange): Self?