Write SQL query to solve given problem: How many orders shipped via ship have a medium priority?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(T1.o_orderkey) FROM orders AS T1 INNER JOIN lineitem AS T2 ON T1.o_orderkey = T2.l_orderkey WHERE T2.l_shipmode = 'SHIP' AND T1.o_orderpriority = '3-MEDIUM'