Write SQL query to solve given problem: How many restaurants have not obtained a minimum of 3 in their reviews?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(id_restaurant) FROM generalinfo WHERE review < 3