Fix row count