import sys


# input = sys.stdin.readline

def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count)



if __name__ == "__main__":
    main() import sys sys def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count) main 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 count=0 count 0 for i in h:
        if i >=K:
            count +=1
     i h if i >=K:
            count +=1
     i >=K i K count +=1 count 1 print(count) print count if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count) def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count) main
import sys


# input = sys.stdin.readline

def main():
    N,K = map(int,input().split())
    h = list(map(int,input().split()))
    count=0
    for i in h:
        if i >=K:
            count +=1
    print(count)



if __name__ == "__main__":
    main()