import java.util.*

fun main(args: Array<String>){
    val scanner = Scanner(System.`in`)
    val (N, K) = scanner.nextLine().split(" ").map { it.toInt() }
    val hs = scanner.nextLine().split(" ").map { it.toInt() }
    val ans = hs.filter{ it >= K }.size
    println(ans)
}