n,k=list(map(int ,input().split()))
h=list(map(int ,input().split()))
count=0
for i in range(0,len(h)):
	if(h[i] == k or h[i] >=k ):
		count+=1
	else:
		count+=0

print(int(count)) n,k=list(map(int ,input().split())) n list(map(int ,input().split())) list map(int ,input().split()) map int input().split() ().split () input split k h=list(map(int ,input().split())) h list(map(int ,input().split())) list map(int ,input().split()) map int input().split() ().split () input split count=0 count 0 for i in range(0,len(h)):
	if(h[i] == k or h[i] >=k ):
		count+=1
	else:
		count+=0 i range(0,len(h)) range 0 len(h) len h if(h[i] == k or h[i] >=k ):
		count+=1
	else:
		count+=0 h[i] == k or h[i] >=k h[i] == k h[i] h i k h[i] >=k h[i] h i k count+=1 count 1 count+=0 count 0 print(int(count)) print int(count) int count k=list(map(int ,input().split())) list(map(int ,input().split())) k count=0 0 count n,k=list(map(int ,input().split())) list(map(int ,input().split())) n count+=1 1 count h=list(map(int ,input().split())) list(map(int ,input().split())) h count+=0 0 count
n,k=list(map(int ,input().split()))
h=list(map(int ,input().split()))
count=0
for i in range(0,len(h)):
	if(h[i] == k or h[i] >=k ):
		count+=1
	else:
		count+=0

print(int(count))
