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