import java.util.Scanner;

fun main(args: Array<String>) {
	val scanner = Scanner(System.`in`)
	val n = scanner.nextInt()
	val k = scanner.nextInt()
	var cnt = 0
	repeat(n) {
		if (scanner.nextInt()>=k) cnt++
	}
	println(cnt)
}