Passage: The incumbent Minister of Finance Jyrki Katainen, as the leader of the biggest party in the new parliament, was tasked to form a new government. During government formation talks, the True Finns said they would withdraw if the government accepted the Portuguese bailout. Katainen then continued six-party talks that included the NCP, the SDP, the Left Alliance, Green League, Christian Democrats and the SPP. However, these negotiations ran aground on 1 June as the Social Democrats and the Left Alliance walked out of the talks due to strong differences on economic policies. Negotiations were set to continue under Katainen's proposed premiership, though the composition of the new government was not certain at the time. Due to the Green League's opposition to forming a government with the NCP, the Centre Party and the Christian Democrats, Katainen—avoiding a resultant minority government—announced on 10 June that the same six parties would return to negotiations, describing it as the "only possible coalition." On 17 June, the six parties came to an agreement on forming a coalition government, led by Katainen and consisting of 19 ministers. The ministerial portfolios were divided with the NCP and the SDP both having six ministers, while the Left Alliance, the Greens and the SPP would each have two and the Christian Democrats would have one. The six parties announced their ministers designate between 17–20 June. On 22 June the new parliament elected Jyrki Katainen as prime minister.

Question: How many parties were involved in these discussions?
six