#include <bits/stdc++.h>
using namespace std;

#define mod 1000000007
#define ll long long
#define pb push_back
#define FLASH ios_base::sync_with_stdio(false), cin.tie(NULL);
#define filething freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
#define float long double
#define int long long

void solve(){
    int n;
    cin >> n;
    
    int a[n];
    for(int i = 0; i < n; i ++) cin >> a[i];
    
    sort(a, a + n);
    
    int mn = 1e18;
    int pos = -1;
    int ans = 0;
    for(int i = 0; i < n; i ++){
        if(a[i] <= 0){
            ans ++;
            if(i != 0){
                mn = min(mn, a[i] - a[i - 1]);
            }
        }
        else{
            pos = a[i];
            break;
        }
    }
    
    if(mn == 1e18 && pos != -1) ans ++;
    else if(mn != 1e18 && pos != -1 && mn >= pos) ans ++;
    
    cout << ans << endl;
}
    
signed main(){
    
    FLASH
    
    int t;
    cin >> t;
    // t = 1;
    
    while(t --){
        solve();
    }
    return 0;
}

