module app;

import core.bitop;

import std.algorithm;
import std.array;
import std.bigint;
import std.conv;
import std.stdio;
import std.string;

struct Input
{
	int n;
	int k;
	int[] h;
}

void parseInput(T)(out Input input, T file)
{
	with (file) with (input)
	{
		auto nk = readln().strip().split();
		n = nk[0].to!int;
		k = nk[1].to!int;

		auto array = readln().strip().split();
		h = array.map!(a=>a.to!int).array;
	}
}

struct Output
{
}

auto main2(Input* input)
{
	uint result = 0;
	foreach (h; input.h)
	{
		if (h >= input.k)
			result++;
	}
	return result;
}

unittest { writeln("begin unittest"); }

unittest // example1
{
	string example =
`4 150
150 140 100 200`;
	Input input = void;
	parseExample(input, example);
	auto result = main2(&input);
	writeln(result);
	assert(result == 2);
}

unittest // example2
{
	string example =
`1 500
499`;
	Input input = void;
	parseExample(input, example);
	auto result = main2(&input);
	writeln(result);
	assert(result == 0);
}

unittest // example3
{
	string example =
`5 1
100 200 300 400 500`;
	Input input = void;
	parseExample(input, example);
	auto result = main2(&input);
	writeln(result);
	assert(result == 5);
}

unittest { writeln("end unittest"); }

void parseExample(out Input input, string example)
{
	struct Adapter
	{
		string[] _lines;
		this(string input) { _lines = input.splitLines(); }
		string readln() { auto line = _lines[0]; _lines = _lines[1..$]; return line; }
	}
	parseInput(input, Adapter(example));
}

void main()
{
	Input input = void;
	parseInput(input, stdin);
	auto result = main2(&input);
	writeln(result);
}
