#include <bits/stdc++.h>   using namespace std;   int main() {     int t, n, k;     int nums[1005];     cin >> t;     while (t--) {       cin >> n >> k;       for (int i = 0; i < n; i++) cin >> nums[i];       sort(nums, nums + n);       int sum = 0;       for (int i = 1; i < n; i++) sum += (k - nums[i]) / nums[0];       cout << sum <<   n ;     }     return 0;   }   