Write SQL query to solve given problem: How many professors are teaching course ID 18?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(DISTINCT p_id) FROM taughtBy WHERE course_id = 18