#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, h, a, x;
  cin >> n >> h;
  a = n;
  for (int i = 0; i < n; i++) {
    cin >> x;
    a += (x > h);
  }
  cout << a << endl;
  return 0;
}
