Database: legislator
Question: Among the legislators who will end in 2009, how many are from the Republican party?
SQL: SELECT `END`, party FROM `current-terms` WHERE STRFTIME('%Y', `END`) = '2009' AND party = 'Republican'