import os, sys, re, math

(N, K) = [int(n) for n in input().split()]
H = [int(n) for n in input().split()]

print(len(list(filter(lambda h: h >= K, H)))) import os, sys, re, math os sys re math int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n (N, K) = [int(n) for n in input().split()] (N, K) N K [int(n) for n in input().split()] int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n H = [int(n) for n in input().split()] H [int(n) for n in input().split()] print(len(list(filter(lambda h: h >= K, H)))) print len(list(filter(lambda h: h >= K, H))) len list(filter(lambda h: h >= K, H)) list filter(lambda h: h >= K, H) filter lambda h: h >= K h >= K h K h H H = [int(n) for n in input().split()] [int(n) for n in input().split()] H
import os, sys, re, math

(N, K) = [int(n) for n in input().split()]
H = [int(n) for n in input().split()]

print(len(list(filter(lambda h: h >= K, H))))
