N,K=map(int, input().split())
List=list(map(int,input().split())) 
print(sum(1 for x in List if x>=K)) N,K=map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K List=list(map(int,input().split())) List list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split print(sum(1 for x in List if x>=K)) print sum(1 for x in List if x>=K) sum 1 K=map(int, input().split()) map(int, input().split()) K N,K=map(int, input().split()) map(int, input().split()) N List=list(map(int,input().split())) list(map(int,input().split())) List
N,K=map(int, input().split())
List=list(map(int,input().split())) 
print(sum(1 for x in List if x>=K))