Write SQL query to solve given problem: Provide the number of publications published in the journal named 'Academic Medicine' between 2005 and 2010.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T2.JournalId) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Academic Medicine' AND T2.Year BETWEEN 2005 AND 2010