Removed deprecated row count logic.