def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K]))


if __name__ == '__main__':
    main() def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K])) main N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K H = map(int, input().split()) H map(int, input().split()) map int input().split() ().split () input split h for h in H if h >= K for h in H if h >= K h H h >= K h K if h >= K h print(len([h for h in H if h >= K])) print len([h for h in H if h >= K]) len [h for h in H if h >= K] if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K])) def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K])) main
def main():
    N, K = map(int, input().split())
    H = map(int, input().split())
    print(len([h for h in H if h >= K]))


if __name__ == '__main__':
    main()
