Include getRowCount into routes