#include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       long long int n, x;       cin >> n >> x;       long long int a[n];       for (int i = 0; i < n; i++) {         cin >> a[i];       }       sort(a, a + n);       int j = 1, teams = 0;       for (int i = n - 1; i >= 0; i--) {         if (a[i] * j >= x) {           teams++;           j = 0;         }         j++;       }       cout << teams << endl;     }   }   