#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define debug(n) cout << #n << " : " << n << endl;
#define mod 1000000007
#define debug2(n1,n2) cout << #n1 << " : " << n1 << "  " << #n2 << " : " << n2 << endl;
#define name(x) cout << #x << " : ";
int main(){
    int t;
    cin >> t;
    while(t--){
        int n;
        cin >> n;
        vector<int> arr(n);
        for(auto &i : arr){
            cin >> i;
        }
        sort(arr.begin() , arr.end());
        int pos = 0;
        int mn = 1e9;
        for(int i = 0 ; i < n ; ++i){
            if(arr[i] <= 0){
                pos++;
            }else{
                break;
            }
        }
        if(pos == n){
            cout << n << endl;
            continue;
        }

        for(int i = 1 ; i < pos ; ++i){
            mn = min(mn , abs(arr[i]-arr[i-1]));
        }

        if(pos < n && mn >= arr[pos]){
            cout << pos+1 << endl;
        }else{
            cout << pos << endl;
        }

    }
}