Write SQL query to solve given problem: How many French movies got the highest ranking?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(movieid) FROM movies WHERE country = 'France' AND movieid IN ( SELECT movieid FROM u2base WHERE rating = ( SELECT MAX(rating) FROM u2base ) )