making getNumTupleRecs work right.