#import <Foundation/Foundation.h>
typedef long long Int;
int main() {
	Int n,k;
	scanf("%lld %lld",&n,&k);
	Int ans=0;
	for(Int i=0;i<n;i++){
		Int h;
		scanf("%lld",&h);
		if(h>=k) ans++;
	}
	printf("%lld",ans);
}