Title: Pretty Little Liars (season 7)
Content:  The seventh and final season of the American mystery drama television series Pretty Little Liars, based on the books of the same name by Sara Shepard, was renewed on June 10, 2014 for two additional seasons, making the show Freeform's longest running original series. The season consisted of 20 episodes, in which ten episodes aired in the summer of 2016, with the remaining ten episodes aired from April 2017. The season premiered on June 21, 2016 and ended on June 27, 2017 on Freeform. Production and filming began in the end of March 2016, which was confirmed by showrunner I. Marlene King. The season premiere was written by I. Marlene King and directed by Ron Lagomarsino. King revealed the title of the premiere on Twitter on March 17, 2016. On August 29, 2016, it was confirmed that this would be the final season of the series.
Title: List of Pretty Little Liars episodes
Content:  March 26, 2013, ABC Family renewed the series for a fifth season. On January 7, 2014, showrunner I. Marlene King wrote on Twitter that season 5 will have 25 episodes, including a holiday-themed episode. On June 10, 2014, it was announced that the show was renewed for an additional 2 seasons. Season 6 will air in mid-2015, and season 7 will air in mid-2016. It was announced by I. Marlene King that the sixth and the seventh season will consist of 20 episodes each. It was announced on August 29, 2016, that the show would be ending after the seventh season, and that the second half of the season would begin airing April 18, 2017.
Title: Pretty Little Liars (season 7)
Content:  The seventh season was ordered with the sixth season on June 10, 2014, right before the fifth-season premiere aired, which made the show as ABC Family's longest running original series, surpassing The Secret Life of the American Teenager, which was ABC Family's previous longest running original series. The season will consist of 20 episodes, in which ten episodes will air in the summer of 2016, with the remaining ten episodes beginning to air in April 2017. Charlie Craig, who served as writer/consulting producer on the second season, will return for the seventh season as executive producer/co-showrunner. I. Marlene King revealed the title of the premiere "Tick-Tock, Bitches" on Twitter. Variety announced that season premiere would air on June 21, 2016, the latest for a season premiere in the show's history. Additionally, series star Troian Bellisario would make her directorial debut 
Title: Pretty Little Liars (season 7)
Content:  The seventh season had been speculated by both fans and the cast and crew of the show to being the final season of Pretty Little Liars ever since the show was renewed for two additional seasons. In an interview with BuzzFeed, Troian Bellisario said “This is the beginning of the end. But the best part about these last two years is that, because it’s the beginning of the end, we can actually start telling the story I think we’ve been waiting to tell for a long time." Regarding the show's ending, Lucy Hale said to E! News that "Seven seasons will definitely end the show." Showrunner I. Marlene King commented on these 
Title: Pretty Little Liars (season 7)
Content:  season. Bellisario is set to direct the fifteenth episode of the season. A promo was released on May 12, 2016. Freeform released a promotional poster for the season, on June 7, 2016. After the season premiere, Freeform released another poster which included Ashley Benson. On August 29, 2016, I. Marlene King with the principal cast of the show announced that Pretty Little Liars would end after the seventh season. King also announced that the show would start airing the second half of the season later than usual, in April 2017 and that the series finale would be a two-hour episode event. It was reported on October 26, 2016, that a tell-all special will air after the series finale "Till Death Do Us Part", where the main cast and showrunner I. Marlene King talked about the show and behind-the-scenes exclusive.
Title: Pretty Little Liars (season 7)
Content:  the seventh season, but would not necessarily mean that the show would end after the seventh season. Hale said on The Late Late Show with James Corden that the show was ending after the seventh season. Bellisario's fiancé Patrick J. Adams said in June 2016, that the show was ending in 2017, as the couple has decided to get married after the show ends. Freeform gave out a statement not long after saying that "There has been no official decision made for PLL beyond a season 7." It was announced on August 29, 2016, the day before the mid-season finale would air, that Pretty Little Liars will end after the seventh season.
Title: Pretty Little Liars (season 7)
Content:  to TVLine as she said "We have enough story to take us to the end of Season 7, and we’re going to let the fans tell us if they’re ready to say goodbye to this world and these characters." She confirmed to being open for an eighth season and a movie and a new book. In an interview with Variety regarding the five-year time-jump from the sixth season, King said "I think that this story when we're back will end next year at the end of Season 7". She later took to Twitter where she confirmed that the current storyline that began in the second half of the sixth season would end 
Title: Pretty Little Liars (season 7)
Content:  Production began on February 1, 2016, when King announced on Twitter that the writers were in full swing brainstorming and mapping the seventh season. Production and filming began in the end of March 2016 and officially wrapped up in October 2016.
Title: Bedlam (Pretty Little Liars)
Content:  "Bedlam" is the second episode of the seventh season of the mystery drama television series Pretty Little Liars, which aired on June 28, 2016, on the cable network Freeform. The episode was written by Joseph Dougherty and directed by Tawnia McKiernan. The episode focuses on the protagonists growing suspicious of Elliott as Ali's condition worsens. Spencer and Caleb's relationship is on the rocks. Liam helps Aria and Ezra on their book. Hanna and Jordan's engagement falls down, and Hanna signs a contract with Lucas to construct a fashion company. "Bedlam" yielded 1.24 million viewers and a 0.6 demo rating, down from the previous episode.
Title: Pretty Little Liars (season 6)
Content:  The show was renewed for a sixth and seventh season on June 10, 2014, right before the season five premiere aired, making Pretty Little Liars ABC Family's longest running original series. The sixth and the seventh season will consist of 20 episodes each. Filming for season 6 began on March 24, 2015. It aired 10 episodes for the first half the season, which began airing on June 2, 2015. The table read for the premiere occurred on March 23, 2015, King began writing the mid-season finale, the "summer finale", which was titled "Game Over, Charles", on May 12, 2015. Unlike previous seasons, the sixth season will not include a special holiday-themed episode between the first and second half of the season, just like the first season. Previous holiday-themed episodes have been the thirteenth episode of each previous season excluding the first. The second half of the season will feature a new intro, after using the same intro in the previous seasons, and will feature the characters after the five-year time jump.

Question: how many episodes are in season 7 of pretty little liars?
Answer: 20.