import sys

def ILI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def ISI(): return map(int, sys.stdin.readline().rstrip().split())

n, k = ISI()
H = ILI()
cnt=0
for h in H:
	if h>=k:cnt+=1
print(cnt) import sys sys def ILI(): return list(map(int, sys.stdin.readline().rstrip().split())) ILI def ISI(): return map(int, sys.stdin.readline().rstrip().split()) ISI n, k = ISI() n ISI() ISI k H = ILI() H ILI() ILI cnt=0 cnt 0 for h in H:
	if h>=k:cnt+=1 h H if h>=k:cnt+= h>=k h k print(cnt) print cnt cnt=0 0 cnt n, k = ISI() ISI() n def ILI(): return list(map(int, sys.stdin.readline().rstrip().split())) def ILI(): return list(map(int, sys.stdin.readline().rstrip().split())) ILI k = ISI() ISI() k H = ILI() ILI() H def ISI(): return map(int, sys.stdin.readline().rstrip().split()) def ISI(): return map(int, sys.stdin.readline().rstrip().split()) ISI
import sys

def ILI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def ISI(): return map(int, sys.stdin.readline().rstrip().split())

n, k = ISI()
H = ILI()
cnt=0
for h in H:
	if h>=k:cnt+=1
print(cnt)