#include<bits/stdc++.h> #define ll long long using namespace std; int n,m,a[10086],k=0; int main() { ios::sync_with_stdio(0),cin.tie(0); cout.tie(0); cin>>n>>m; for(int i=1;i<=n;i++) { cin>>a[i]; if(a[i]>=m) { k++; } } cout<<k<<endl; return 0; }