import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val N = scanner.nextInt()
    val K = scanner.nextInt()

    val heights = mutableListOf<Int>()
    for (i in (1..N)) {
        heights.add(scanner.nextInt())
    }

    println(heights.count { it >= K })
}