return number of rows passed in.