Write SQL query to solve given problem: What is the total number of bikes that can be hold in Redwood City before 2014.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT SUM(CASE WHEN city = 'Redwood City' AND SUBSTR(installation_date, -4) < '2014' THEN dock_count ELSE 0 END) NUM FROM station