Write SQL query to solve given problem: How many research postgraduate students are there?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(student_id) FROM student WHERE type = 'RPG'