Write SQL query to solve given problem: How many drama movie with the rating of 3?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(DISTINCT T2.movieid) FROM u2base AS T1 INNER JOIN movies2directors AS T2 ON T1.movieid = T2.movieid WHERE T2.genre = 'drama' AND T1.rating = 3