user: Question: How many episodes were portrayed by nick jonas?
Columns: ['Character', 'Portrayed by', 'Main cast seasons', 'Recurring cast seasons', '# of episodes']
Types: ['text', 'text', 'text', 'text', 'real']
Sample row: ['Nick Lucas', 'Nick Jonas', 'Seasons 1–2', 'Appears in all seasons', 34.0]
SQL:

assistant: SELECT SUM("# of episodes") FROM "Table" WHERE "Portrayed by" = 'nick jonas';