Thomas P. Moore มีการเลือกตั้งปีแรกกี่ปี?
How many first elected years are provided for Thomas P. Moore?
df = pd.DataFrame(columns=['first_elected', 'incumbent'])
df[df['incumbent'] == 'Thomas P. Moore']['first_elected'].count()