import java.util.*

fun main(args : Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val k = scanner.nextInt()
    var sum = 0
    for (i in 0..n-1) {
        val h = scanner.nextInt()
        if (h >= k) sum+=1
    }
    println(sum)
}
