move count_rows