human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Episode title, Air date, Reward, Immunity, Eliminated, Vote, Finish
###Question: How many votes were taken when the outcome was "6th voted out day 12"?
gpt
SELECT COUNT Vote FROM table WHERE Finish = 6th Voted Out Day 12