The Pittsburgh Penguins are a professional ice hockey team based in Pittsburgh, Pennsylvania.
 They are members of the Metropolitan Division of the Eastern Conference of the National Hockey League (NHL).
 The franchise was founded in 1967 as one of the first expansion teams during the league's original expansion from six to twelve teams.
 The Penguins played in the Civic Arena, also known to Pittsburgh fans as "The Igloo", from the time of their inception through the end of the 2009–10 season.
 They moved into their new arena, PPG Paints Arena, to begin the 2010–11 season.
 They have qualified for six Stanley Cup Finals, winning the Stanley Cup five times – in 1991, 1992, 2009, 2016, and 2017.
 Along with the Edmonton Oilers, the Penguins are tied for the most Cup championships among non-Original Six teams.
 With their Stanley Cup wins in 2016 and 2017, the Penguins became the first back-to-back champions in 19 years (since the 1997–98 Detroit Red Wings) and the first team to do so since the introduction of the salary cap.
The Stanley Cup (French: "La Coupe Stanley" ) is the championship trophy awarded annually to the National Hockey League (NHL) playoff winner.
 It is the oldest existing trophy to be awarded to a professional sports franchise, and the International Ice Hockey Federation (IIHF) considers it to be one of the "most important championships available to the sport".
 Originally commissioned in 1892 as the "Dominion Hockey Challenge Cup", the trophy is named after Lord Stanley of Preston, then–Governor General of Canada, who donated it as an award to Canada's top-ranking amateur ice hockey club, which the entire Stanley family supported, with the sons and daughters playing and promoting the game.
 The first Cup was awarded in 1893 to Montreal HC, and subsequent winners from 1893 to 1914 were determined by challenge games and league play.
 Professional teams first became eligible to challenge for the Stanley Cup in 1906.
 In 1915, the two professional ice hockey organizations, the National Hockey Association (NHA) and the Pacific Coast Hockey Association (PCHA), reached a gentlemen's agreement in which their respective champions would face each other annually for the Stanley Cup.
 After a series of league mergers and folds, it was established as the "de facto" championship trophy of the NHL in 1926 and then the "de jure" NHL championship prize in 1947.
Officially known as "Le Club de Hockey Canadien", the Montreal Canadiens (French: "Les Canadiens de Montréal" ) are a Canadian professional ice hockey team based in Montreal, Quebec.
 They play in the Atlantic Division of the Eastern Conference in the National Hockey League (NHL).
 In 1909, the Canadiens were founded as a charter member of the National Hockey Association (NHA).
 In 1917, the franchise joined the NHL, and is one of the Original Six teams.
 In their 100-year history, the Canadiens have won 24 Stanley Cup championships, and are the last Canadian team to have won the Stanley Cup, having done so in 1993.
 Having played in the Jubilee Arena (1909–1910,1918–1919), the Montreal Arena (1911–1918), the Mount Royal Arena (1919–1926), and the Montreal Forum (1926–1996), the Canadiens have played their home games at the Bell Centre, formerly known as the Molson Centre, since 1996.
 The team has had seventeen general managers since their inception.
Terrence Stanley Gray (born March 21, 1938) is a Canadian retired professional ice hockey forward who played 147 games in the National Hockey League for the Montreal Canadiens, Boston Bruins, Los Angeles Kings, and St. Louis Blues.
The history of the National Hockey League begins with the end of its predecessor league, the National Hockey Association (NHA), in 1917.
 After unsuccessfully attempting to resolve disputes with Eddie Livingstone, owner of the Toronto Blueshirts, executives of the three other NHA franchises suspended the NHA, and formed the National Hockey League (NHL), replacing the Livingstone team with a temporary team in Toronto, the Arenas.
 The NHL's first quarter-century saw the league compete against two rival major leagues—the Pacific Coast Hockey Association and Western Canada Hockey League—for players and the Stanley Cup.
 The NHL first expanded into the United States in 1924 with the founding of the Boston Bruins, and by 1926 consisted of ten teams in Ontario, Quebec, the Great Lakes region, and the Northeastern United States.
 At the same time, the NHL emerged as the only major league and the sole competitor for the Stanley Cup; in 1947, the NHL completed a deal with the Stanley Cup trustees to gain full control of the Cup.
 The NHL's footprint spread across Canada as Foster Hewitt's radio broadcasts were heard coast-to-coast starting in 1933.
Frederick "Doc" Doherty (June 15, 1887 – February 12, 1961) was a Canadian professional ice hockey player.
 Doherty played hockey for several professional ice hockey teams from 1908 until 1916, including a stint with the Toronto Ontarios in the National Hockey Association (NHA).
 He also played in the Maritime Professional Hockey League and the Ontario Professional Hockey League.
 After returning from World War I duty, he played one game in the National Hockey League with the Montreal Canadiens to end his career.
 He played on several league champions, leading to play in several Stanley Cup championships, but was not a member of a Stanley Cup-winning team.
The Boston Bruins are a professional ice hockey team based in Boston, Massachusetts.
 They are members of the Atlantic Division of the Eastern Conference of the National Hockey League (NHL).
 The team has been in existence since 1924, and is the league's third-oldest team overall and the oldest in the United States.
 It is also an Original Six franchise, along with the Chicago Blackhawks, Detroit Red Wings, Montreal Canadiens, New York Rangers and Toronto Maple Leafs.
 The Bruins have won six Stanley Cup championships, tied for fourth most of all-time with the Blackhawks and tied second-most of any American NHL team also with the Blackhawks (behind the Red Wings, who have 11).
The Chicago Blackhawks (spelled Black Hawks until 1986, and known colloquially as the Hawks) are a professional ice hockey team based in Chicago, Illinois.
 They are members of the Central Division of the Western Conference of the National Hockey League (NHL).
 They have won six Stanley Cup championships since their founding in 1926.
 The Blackhawks are one of the "Original Six" NHL teams along with the Detroit Red Wings, Montreal Canadiens, Toronto Maple Leafs, Boston Bruins and New York Rangers.
 Since 1994 , the club's home rink is the United Center.
 The club had previously played for 65 years at Chicago Stadium.
The Montreal Canadiens (French: "Les Canadiens de Montréal" ) are a professional ice hockey team based in Montreal, Quebec.
 They are members of the Atlantic Division in the Eastern Conference of the National Hockey League (NHL) and are one of the Original Six teams of the league.
 The club is officially known as "le Club de hockey Canadien ".
 Founded in 1909, they have played a total of 107 seasons, 8 with the National Hockey Association (NHA) and 99 with the NHA's successor, the NHL.
 They are the only club to have played every season for both leagues and the only active NHL team to pre-date the founding of that league.
 They have won the Stanley Cup 24 times, once under the NHA and 23 times since the founding of the NHL, and have also won 11 O'Brien Cup titles, 24 division championships, and 8 conference championships.
 Overall they have the most games played, most wins, most ties, most points, highest points percentage, most years in the playoffs, most division championships, and most Stanley Cup championships of any team in the NHL.
Officially known as "Le Club de Hockey Canadien", the Montreal Canadiens (French: "Les Canadiens de Montréal" ) are a Canadian professional ice hockey team based in Montreal, Quebec.
 They play in the Atlantic Division of the Eastern Conference in the National Hockey League (NHL).
 In 1909, the Canadiens were founded as a charter member of the National Hockey Association (NHA).
 In 1917, the franchise joined the NHL, and is one of the Original Six teams.
 In their 100-year history, the Canadiens have won 24 Stanley Cup championships, and are the last Canadian team to have won the Stanley Cup, having done so in 1993.
 Having played in the Jubilee Arena (1909–1910,1918–1919), the Montreal Arena (1911–1918), the Mount Royal Arena (1919–1926), and the Montreal Forum (1926–1996), the Canadiens have played their home games at the Bell Centre, formerly known as the Molson Centre, since 1996.
 The Canadiens are owned by the Molson Family.
 The general manager position is filled by Marc Bergevin while their coaches consist of recently rehired Claude Julien as their head coach, with Daniel Lacroix, Clement Jodoin and J.J. Daigneault as his assistant coaches, Kirk Muller as his associated coach and as well as Stephane Waite as the goalie coach.
 The current Captain of the Montreal Canadiens (as of the 2017-2018 Season) is Max Pacioretty.

Question: Terry Gray played how many games in the National Hockey League including for the team that has won six Stanley Cup championships?
Answer: 147