How many coaches of the Montreal Canadiens have gotten in the Hall of Fame?
have gotten in the Hall of Fame means hofID is not NULL;

Montreal Canadiens is the name of team.
SELECT COUNT(DISTINCT hofID) FROM Coaches AS T1 INNER JOIN Teams AS T2 ON T1.year = T2.year AND T1.tmID = T2.tmID INNER JOIN Master AS T3 ON T1.coachID = T3.coachID WHERE T2.name = 'Montreal Canadiens'