Switch is greater than 1

If(DT.RowCount=0,0,If(DT.RowCount=1,1,2))