Detailed Instructions: Given a passage and a question, find the answer to the question based on the passage. The answer should consist of only one word that lies in the span of only one of the sentences in the passage.
Q: Paragraph: 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 's premiere aired on June 21 , 2016 , 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 .
Question: how many episodes of pretty little liars season 7b

A:
ten