int count=0;
while(set.next()){
count++;
}
count就是记录个数