Fix row counts