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