small bug with total number of rows…