Answer the following question, with explanation first.
The seventh season of the American ABC fantasy-drama Once Upon a Time was ordered on May 11, 2017. It consisted of 22 episodes, airing on Fridays, having premiered on October 6, 2017.\n\nBased on this passage, how many episodes in series 7 of once upon a time?

22
The relevant sentence in the passage is: It consisted of 22 episodes, airing on Fridays, having premiered on October 6, 2017.

.

The answer is 22