cannot get number of rows