<P> Lloyd and Levitan, whose credits both include Frasier, Wings, and Just Shoot Me, are executive producers of the series, serving as showrunner and head writer under their Lloyd - Levitan Productions label in affiliation with Twentieth Century Fox Television . The other producers on the writing team are Paul Corrigan, Sameer Gardezi, Joe Lawson, Dan O'Shannon, Brad Walsh, Caroline Williams, Bill Wrubel, Danny Zuker, and Jeff Morton . The first team of directors included Jason Winer, Michael Spiller, Randall Einhorn, and Chris Koch . Winer has directed nineteen episodes of the series, making him the most prolific director of the series . </P> <P> In the first season, the adult cast was paid a range of approximately $30,000 to $90,000 per episode . As a result of the show's success, the cast attempted to renegotiate their contracts in the summer of 2012 to obtain higher per - episode fees, but talks broke down to the point that the fourth season's first table read had to be postponed . Five of the cast members (Ty Burrell, Julie Bowen, Jesse Tyler Ferguson, Eric Stonestreet, and Sofía Vergara) retained the Quinn Emanuel law firm and sued 20th Century Fox Television in Los Angeles County Superior Court on July 24, 2012 . While not part of the lawsuit, Ed O'Neill joined his fellow castmates in seeking raises for each to about $200,000 per episode; O'Neill had been earning more money per episode than the other five . The lawsuit invoked the "seven - year rule" in California Labor Code Section 2855 (the De Havilland Law) and requested a declaration that their contracts were void because they were in violation of that rule . As of July 28, 2012, the conflict had been resolved . The five adult cast members' salaries were increased from $55,000--$65,000 per episode to $150,000--$175,000, with increases every season, plus a percentage of back end profits . O'Neill had already been earning $200,000 an episode, so his salary was lowered to parity with his co-stars but with a larger percentage of the back - end profits . Later in the summer four of the five child stars negotiated increases from $15,000--$25,000 to $70,000 per episode with an additional $10,000 per season raise . </P> <Table> <Tr> <Th_colspan="2"> Season </Th> <Th_colspan="2"> Episodes </Th> <Th_colspan="2"> Originally aired </Th> <Th_colspan="2"> Nielsen ratings </Th> </Tr> <Tr> <Th> First aired </Th> <Th> Last aired </Th> <Th> Rank </Th> <Th> Viewers (in millions) </Th> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 23, 2009 (2009 - 09 - 23) </Td> <Td> May 19, 2010 (2010 - 05 - 19) </Td> <Td> 36 </Td> <Td> 9.49 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 22, 2010 (2010 - 09 - 22) </Td> <Td> May 25, 2011 (2011 - 05 - 25) </Td> <Td> 24 </Td> <Td> 11.89 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 21, 2011 (2011 - 09 - 21) </Td> <Td> May 23, 2012 (2012 - 05 - 23) </Td> <Td> 15 </Td> <Td> 12.93 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 26, 2012 (2012 - 09 - 26) </Td> <Td> May 22, 2013 (2013 - 05 - 22) </Td> <Td> 18 </Td> <Td> 12.31 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> 5 </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 25, 2013 (2013 - 09 - 25) </Td> <Td> May 21, 2014 (2014 - 05 - 21) </Td> <Td> 19 </Td> <Td> 11.79 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> 6 </Td> <Td_colspan="2"> 24 </Td> <Td_colspan="1"> September 24, 2014 (2014 - 09 - 24) </Td> <Td> May 20, 2015 (2015 - 05 - 20) </Td> <Td> 24 </Td> <Td> 11.91 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> 7 </Td> <Td_colspan="2"> 22 </Td> <Td_colspan="1"> September 23, 2015 (2015 - 09 - 23) </Td> <Td> May 18, 2016 (2016 - 05 - 18) </Td> <Td> 36 </Td> <Td> 9.83 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> 8 </Td> <Td_colspan="2"> 22 </Td> <Td_colspan="1"> September 21, 2016 (2016 - 09 - 21) </Td> <Td> May 17, 2017 (2017 - 05 - 17) </Td> <Td> 34 </Td> <Td> 8.79 </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> 9 </Td> <Td_colspan="2"> 22 </Td> <Td_colspan="1"> September 27, 2017 (2017 - 09 - 27) </Td> <Td> May 16, 2018 (2018 - 05 - 16) </Td> <Td> 58 </Td> <Td> 7.09 </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Season </Th> <Th_colspan="2"> Episodes </Th> <Th_colspan="2"> Originally aired </Th> <Th_colspan="2"> Nielsen ratings </Th> </Tr>

How many episodes in each season of modern family
find me the text answering this question