------
## 最终结论
```python
def max_teams(t, test_cases):
    results = []
    for case in test_cases:
        n, x = case[0]
        skills = sorted(case[1], reverse=True)
        
        teams = 0
        count = 0
        
        for skill in skills:
            count += 1
            if count * skill >= x:
                teams += 1
                count = 0
        
        results.append(teams)
    
    return results

# Read input
t = int(input().strip())
test_cases = []

for _ in range(t):
    n, x = map(int, input().strip().split())
    skills = list(map(int, input().strip().split()))
    test_cases.append(((n, x), skills))

# Get the result for each test case
results = max_teams(t, test_cases)

# Print the results
for result in results:
    print(result)
```