import std.stdio, std.conv, std.string, std.array, std.algorithm, std.range,
    std.numeric, std.typecons;

void main()
{
    long n, k;
    readf("%d %d\n", &n, &k);
    auto hs = readln.strip.split.to!(long[]);

    writeln(hs.count!(h => h >= k));
}
