import java.util.*
fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val k = scanner.nextInt()
    val list = mutableListOf<Int>()
    for (i in 1..n) {
        val aaa = scanner.nextInt()
        if (aaa >= k) list.add(aaa)
    }
    print(list.size)
}