Write SQL query to solve given problem: How many restaurants in the city of Richmond serve Mediterranean food?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(id_restaurant) FROM generalinfo WHERE food_type = 'mediterranean' AND city = 'richmond'