Elephants

“N elephants went out to play on a spider web one day”. Having a set of M elephants, each one with a weight wi where 1 ≤ i ≤ M, and knowing the maximum weight that the spider web supports, what is the largest number of elephants that you can put in the spider web without breaking it? Input The first line of input contains a non negative integer meaning the number of test cases. Each case starts with a line with two integers M and W, the number of elephants and the maximum weight that the spider web supports (1 ≤ M ≤ 105 and 1 ≤ W ≤ 108). The next line contains M numbers wi representing the weight of each elephant (1 ≤ wi ≤ 10000). Output Print a single line per test case with the largest number of elephants that you can put in the spider web without breaking it. Sample Input 3 5 14 10 15 16 17 18 4 20 1234 5 22 91877 Sample Output 1 4 3