N,K=map(int,input().split())
H=list(map(int,input().split()))

S=0
for h in H:
    S+=h>=K
print(S) N,K=map(int,input().split()) N 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 S=0 S 0 for h in H:
    S+=h>=K h H S+=h>=K S h>=K h K print(S) print S N,K=map(int,input().split()) map(int,input().split()) N K=map(int,input().split()) map(int,input().split()) K H=list(map(int,input().split())) list(map(int,input().split())) H S=0 0 S S+=h>=K h>=K S
N,K=map(int,input().split())
H=list(map(int,input().split()))

S=0
for h in H:
    S+=h>=K
print(S)