Write SQL query to solve given problem: Among the students being advised by Advisor 5, how many students are in the 5th year?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(*) FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T1.p_id_dummy = 5 AND T2.student = 1 AND T2.yearsInProgram = 'Year_5'